mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2024-11-18 20:06:09 +06:00
Obok.py/action.py: invoke _() only once
This commit is contained in:
parent
2e53d70e88
commit
2cd2792306
|
@ -377,7 +377,7 @@ class InterfacePluginAction(InterfaceAction):
|
||||||
try:
|
try:
|
||||||
zin = zipfile.ZipFile(book.filename, 'r')
|
zin = zipfile.ZipFile(book.filename, 'r')
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print(_("File not found. Make sure that the ebook has been properly downloaded in the Kobo app. ("), book.filename, _(")"))
|
print (_('{0} - File "{1}" not found. Make sure the eBook has been properly downloaded in the Kobo app.').format(PLUGIN_NAME, book.filename))
|
||||||
return result
|
return result
|
||||||
#print ('Kobo library filename: {0}'.format(book.filename))
|
#print ('Kobo library filename: {0}'.format(book.filename))
|
||||||
for userkey in self.userkeys:
|
for userkey in self.userkeys:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user