updated
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user