diff --git a/src/py/bbctrl/Web.py b/src/py/bbctrl/Web.py index f2a557a..a11e67a 100644 --- a/src/py/bbctrl/Web.py +++ b/src/py/bbctrl/Web.py @@ -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')