bug fix ...

pull/17/head
Steve Nyemba 2 months ago
parent ef430ee3dc
commit e764d4da2a

@ -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 {}

Loading…
Cancel
Save