From e4963237dcfbd2082a8c5e1e88f7d320f2204f0a Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sun, 22 Jul 2018 01:08:03 +0200 Subject: [PATCH] Fix-up a332d29 should not be exported on invalid DC --- telethon/client/downloads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/telethon/client/downloads.py b/telethon/client/downloads.py index e0197241..abf7f7c9 100644 --- a/telethon/client/downloads.py +++ b/telethon/client/downloads.py @@ -217,6 +217,7 @@ class DownloadMethods(UserMethods): # TODO Figure out why the session may have the wrong DC ID sender = self._sender + exported = False else: # The used sender will also change if ``FileMigrateError`` occurs sender = self._sender