Skip to content

Commit 2cd2792

Browse files
preconditionnoDRM
authored andcommitted
Obok.py/action.py: invoke _() only once
1 parent 2e53d70 commit 2cd2792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Obok_plugin/action.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def decryptBook(self, book):
377377
try:
378378
zin = zipfile.ZipFile(book.filename, 'r')
379379
except FileNotFoundError:
380-
print(_("File not found. Make sure that the ebook has been properly downloaded in the Kobo app. ("), book.filename, _(")"))
380+
print (_('{0} - File "{1}" not found. Make sure the eBook has been properly downloaded in the Kobo app.').format(PLUGIN_NAME, book.filename))
381381
return result
382382
#print ('Kobo library filename: {0}'.format(book.filename))
383383
for userkey in self.userkeys:

0 commit comments

Comments
 (0)