mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 07:56:33 +01:00
...
This commit is contained in:
parent
a97a8a44a8
commit
5d7584294c
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ def compare_books(path1, path2, revert_msg=None, revert_callback=None, parent=No
|
|||
|
||||
def main(args=sys.argv):
|
||||
from calibre.gui2 import Application
|
||||
left, right = sys.argv[-2:]
|
||||
left, right = args[-2:]
|
||||
ext1, ext2 = left.rpartition('.')[-1].lower(), right.rpartition('.')[-1].lower()
|
||||
if ext1.startswith('original_'):
|
||||
ext1 = ext1.partition('_')[-1]
|
||||
|
|
|
|||
Loading…
Reference in a new issue