bot token

This commit is contained in:
msramalho
2022-06-08 13:39:57 +02:00
parent 067e6d8954
commit 562d2f51ad
5 changed files with 12 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ def expand_url(url):
logger.error(f'Failed to expand url {url}')
return url
def getattr_or(o: object, prop: str, default: None = None):
def getattr_or(o: object, prop: str, default = None):
try:
res = getattr(o, prop)
if res is None: raise