修改Fire为程序入口

This commit is contained in:
shmilylty
2019-08-03 21:28:08 +08:00
parent 439fc9aa8e
commit 8bf9f2f0f6
+2 -2
View File
@@ -89,5 +89,5 @@ class OneForAll(object):
if __name__ == '__main__':
# fire.Fire(OneForAll)
OneForAll('example.com').run()
fire.Fire(OneForAll)
# OneForAll('example.com').run()