This commit is contained in:
Mohamed Nouffer
2022-03-23 09:50:03 +05:30
parent 882768fdb5
commit 177919d39b

View File

@ -379,8 +379,6 @@ def publish_date(sender, instance, created, **kwargs):
except Exception as e:
print('##################',e)
time.sleep(1)
try:
csv_f = glob.glob(r'{}/**/*.csv'.format(file_path), recursive=True)[0]
@ -397,6 +395,7 @@ def publish_date(sender, instance, created, **kwargs):
updateLineTable(mdl, fields)
if instance.layerof == 3:
updatePolygonTable(mdl, fields)
time.sleep(2)
except Exception as e:
print('##################',e)