This commit is contained in:
sanjayk03-dev
2024-06-07 04:23:00 +05:30
parent 72d1746489
commit 98914ffd9e

View File

@@ -626,7 +626,7 @@ class MacrosDownloadHandler(bbctrl.APIHandler):
filepath = self.get_upload(filename)
zip_file.write(filepath, filename)
config_path = self.ctrl.get_path('config.json')
config_path = self.get_path('config.json')
try:
if os.path.exists(config_path):
zip_file.write(config_path,'config.json')