mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-27 17:54:38 +03:00
Fix-up a332d29
should not be exported on invalid DC
This commit is contained in:
parent
a332d29c4c
commit
e4963237dc
|
@ -217,6 +217,7 @@ class DownloadMethods(UserMethods):
|
||||||
|
|
||||||
# TODO Figure out why the session may have the wrong DC ID
|
# TODO Figure out why the session may have the wrong DC ID
|
||||||
sender = self._sender
|
sender = self._sender
|
||||||
|
exported = False
|
||||||
else:
|
else:
|
||||||
# The used sender will also change if ``FileMigrateError`` occurs
|
# The used sender will also change if ``FileMigrateError`` occurs
|
||||||
sender = self._sender
|
sender = self._sender
|
||||||
|
|
Loading…
Reference in New Issue
Block a user