mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:03:53 +02:00
...
This commit is contained in:
parent
024f25855a
commit
f63fd2d005
1 changed files with 3 additions and 1 deletions
|
|
@ -163,4 +163,6 @@ def do_register(self):
|
|||
|
||||
if __name__ == '__main__':
|
||||
del sys.path[0]
|
||||
unregister()
|
||||
func = (register if sys.argv[-1] == 'register' else unregister)
|
||||
print ('Running', func.__name__, '...')
|
||||
func()
|
||||
|
|
|
|||
Loading…
Reference in a new issue