This commit is contained in:
Kovid Goyal 2015-02-18 10:37:48 +05:30
parent 024f25855a
commit f63fd2d005

View File

@ -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()