Fix-up a332d29 should not be exported on invalid DC

This commit is contained in:
Lonami Exo 2018-07-22 01:08:03 +02:00
parent a332d29c4c
commit e4963237dc

View File

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