Update commander.py
This commit is contained in:
parent
20e63d2d0f
commit
b123410d43
19
commander.py
19
commander.py
@ -1,6 +1,23 @@
|
||||
#!/usr/bin/env python3
|
||||
import logging
|
||||
import argparse
|
||||
from store import Store
|
||||
import importlib
|
||||
import sys
|
||||
|
||||
class Commander(CommandLine):
|
||||
pass
|
||||
|
||||
|
||||
store_file = 'data/store.db'
|
||||
s = Store(store_file)
|
||||
|
||||
if __name__ == '__main__':
|
||||
print('hi!')
|
||||
while True:
|
||||
importlib.reload(command_line)
|
||||
from command_line import CommandLine
|
||||
c = Commander()
|
||||
c.run()
|
||||
if c.reloading == False:
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user