fix
This commit is contained in:
parent
470f4df979
commit
5a59e443d7
@ -36,7 +36,8 @@ class WebUtils:
|
|||||||
if r:
|
if r:
|
||||||
return r.json().get("data", {}).get("location") or ''
|
return r.json().get("data", {}).get("location") or ''
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
return str(err)
|
print(str(err))
|
||||||
|
return ""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_bing_wallpaper() -> Optional[str]:
|
def get_bing_wallpaper() -> Optional[str]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user