mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix bug that broke other importers
This commit is contained in:
parent
3036d3baf9
commit
4210869f4d
1 changed files with 2 additions and 0 deletions
|
@ -135,6 +135,8 @@ you can enter it here. Use \\t to represent tab."""),
|
|||
self.updateDelimiterButtonText()
|
||||
|
||||
def updateDelimiterButtonText(self):
|
||||
if not self.importerFunc.needDelimiter:
|
||||
return
|
||||
if self.importer.delimiter:
|
||||
d = self.importer.delimiter
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue