|
@ -308,7 +308,7 @@ def new_publish(args, publish_type, vehicle, language, version): |
|
|
'%s-%s-full_update.json' % (vehicle, language) |
|
|
'%s-%s-full_update.json' % (vehicle, language) |
|
|
""" Since full update is not available for Global version 1 """ |
|
|
""" Since full update is not available for Global version 1 """ |
|
|
|
|
|
|
|
|
if version == '1.00': |
|
|
if str(version) == '1.00': |
|
|
with open(full_update_file_name, 'w') as outfile: |
|
|
with open(full_update_file_name, 'w') as outfile: |
|
|
outfile.write(json.dumps(json_file)) |
|
|
outfile.write(json.dumps(json_file)) |
|
|
with open(new_full_update_file_name, 'w') as outfile: |
|
|
with open(new_full_update_file_name, 'w') as outfile: |
|
@ -880,4 +880,4 @@ def upv(): |
|
|
@frappe.whitelist() |
|
|
@frappe.whitelist() |
|
|
def run_publish(): |
|
|
def run_publish(): |
|
|
new_publish('THAR-en -2023-05-21 16:57:54.119826', |
|
|
new_publish('THAR-en -2023-05-21 16:57:54.119826', |
|
|
'global', 'THAR', 'en', 1.00) |
|
|
'global', 'THAR', 'en', '1.00') |
|
|