We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d25211b commit 9d3ff79Copy full SHA for 9d3ff79
databasin/client.py
@@ -222,10 +222,10 @@ def get_temporary_file(self, uuid):
222
raise
223
224
def import_lpk(self, lpk_file, xml=None):
225
- if lpk_file.endswith('.lpk'):
+ if lpk_file.endswith('.lpk') or lpk_file.endswith('.lpkx'):
226
f = open(lpk_file, 'rb')
227
else:
228
- raise ValueError('File must be an ArcGIS Layer Package with a .lpk extension')
+ raise ValueError('File must be an ArcGIS Layer Package with a .lpk or .lpkx extension')
229
230
filename = os.path.basename(lpk_file)
231
0 commit comments