mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Clean up code
This commit is contained in:
parent
b4a2490da2
commit
dc7fe93aeb
1 changed files with 0 additions and 6 deletions
|
|
@ -1272,9 +1272,6 @@ class Client(Methods, BaseClient):
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise e
|
raise e
|
||||||
finally:
|
|
||||||
pass # Don't stop sessions, they are now cached and kept online
|
|
||||||
# cdn_session.stop() TODO: Remove this branch
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.error(e, exc_info=True)
|
log.error(e, exc_info=True)
|
||||||
|
|
||||||
|
|
@ -1286,6 +1283,3 @@ class Client(Methods, BaseClient):
|
||||||
return ""
|
return ""
|
||||||
else:
|
else:
|
||||||
return file_name
|
return file_name
|
||||||
finally:
|
|
||||||
pass # Don't stop sessions, they are now cached and kept online
|
|
||||||
# session.stop() TODO: Remove this branch
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue