mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
close text file after import
This commit is contained in:
parent
a50ec2649a
commit
17630fa339
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ class TextImporter(Importer):
|
|||
cards.append(card)
|
||||
self.log = log
|
||||
self.ignored = ignored
|
||||
self.fileobj.close()
|
||||
return cards
|
||||
|
||||
def sniff(self):
|
||||
|
|
Loading…
Reference in a new issue