diff --git a/cms/engine/themes/__init__.py b/cms/engine/themes/__init__.py index 63e7527..8af40ee 100644 --- a/cms/engine/themes/__init__.py +++ b/cms/engine/themes/__init__.py @@ -32,7 +32,11 @@ def Get(theme,_url= URL) : """ try: _url = '/'.join([_url,'api','themes','Get']) +f'?theme={theme}' - return requests.get(_url).json() + try: + return requests.get(_url).json() + except Exception as e: + pass + return None except Exception as e: pass return {}