fix
This commit is contained in:
@@ -626,7 +626,7 @@ class MacrosDownloadHandler(bbctrl.APIHandler):
|
|||||||
filepath = self.get_upload(filename)
|
filepath = self.get_upload(filename)
|
||||||
zip_file.write(filepath, filename)
|
zip_file.write(filepath, filename)
|
||||||
|
|
||||||
config_path = self.ctrl.get_path('config.json')
|
config_path = self.get_path('config.json')
|
||||||
try:
|
try:
|
||||||
if os.path.exists(config_path):
|
if os.path.exists(config_path):
|
||||||
zip_file.write(config_path,'config.json')
|
zip_file.write(config_path,'config.json')
|
||||||
|
|||||||
Reference in New Issue
Block a user