make listboxes work when bin/listboxes is a symlink
This commit is contained in:
@ -4,9 +4,7 @@ from pathlib import Path
|
||||
from configparser import ConfigParser
|
||||
from socket import gethostbyname, create_connection
|
||||
|
||||
# cfgdir = Path('~/boxtools/cfg').expanduser()
|
||||
cfgdir = Path(__file__).parent / 'cfg'
|
||||
print(cfgdir, cfgdir.is_dir())
|
||||
cfgdir = Path(__file__).resolve().parent / 'cfg'
|
||||
|
||||
|
||||
def check_ssh(host, port=22):
|
||||
|
Reference in New Issue
Block a user