mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
024f25855a
commit
f63fd2d005
@ -163,4 +163,6 @@ class Register(Thread):
|
||||
|
||||
if __name__ == '__main__':
|
||||
del sys.path[0]
|
||||
unregister()
|
||||
func = (register if sys.argv[-1] == 'register' else unregister)
|
||||
print ('Running', func.__name__, '...')
|
||||
func()
|
||||
|
Loading…
x
Reference in New Issue
Block a user