Skip to content

Commit 5126390

Browse files
author
doruk.ozturk
committed
Use lyr_file variable instead of generating new path
1 parent d7f518a commit 5126390

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dataqs/hifld/hifld.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def run(self):
8282
lyr_file = os.path.join(
8383
self.tmp_dir,
8484
self.download(layer['url'], filename=table))
85-
info = get_vector_layer_info(os.path.join(self.tmp_dir, table))
85+
info = get_vector_layer_info(lyr_file)
8686
layer_info = 'layer_info:{}'.format(json.dumps(info))
8787
db = ogc_server_settings.datastore_db
8888
ogr2ogr_exec("-overwrite -skipfailures -f PostgreSQL \

0 commit comments

Comments
 (0)