mirror of http://git.simp.i2p/simp/b32lookup.git
bug fix: screen clear command key error
parent
3e70eae78c
commit
854ce7bb1f
10
lookup.py
10
lookup.py
|
@ -478,10 +478,14 @@ def watch_hosts_notbob():
|
|||
clear_cmds:dict = {
|
||||
'windows': 'cls',
|
||||
'darwin': 'clear',
|
||||
'linux': 'clear',
|
||||
'bsd': 'clear',
|
||||
}
|
||||
os.system(clear_cmds[usr_system])
|
||||
print_title('notbob watchlist', 'Edit watchlist in .settings')
|
||||
time.sleep(1.5)
|
||||
if usr_system in clear_cmds:
|
||||
os.system(clear_cmds[usr_system])
|
||||
print_title('notbob watchlist', 'Edit watchlist in .settings')
|
||||
time.sleep(1)
|
||||
clear_cmds.pop('linux'); clear_cmds.pop('bsd')
|
||||
cmd = f"http://notbob.i2p/cgi-bin/line24.cgi?c=1&lw=20&h={'&h='.join(Settings.config['watch_list'])}"
|
||||
while 1:
|
||||
if usr_system in clear_cmds:
|
||||
|
|
Loading…
Reference in New Issue