Update Telethon version

This commit is contained in:
Tulir Asokan
2018-02-25 12:03:45 +02:00
parent 14c2312f9a
commit 836232db00
5 changed files with 8 additions and 6 deletions
+1
View File
@@ -74,6 +74,7 @@ async def transfer_file_to_matrix(db, client, intent, location):
db.add(db_file)
db.commit()
except IntegrityError:
db.rollback()
log.exception("Integrity error while saving transferred file data. "
"This was probably caused by two simultaneous transfers of the same file, "
"and should not cause any problems.")