eded01f8 by Barry

updated release to pull password from a conf file.

1 parent 43b432d8
......@@ -21,10 +21,8 @@ for f in os.listdir('rooms'):
for f in os.listdir('inventory'):
files.append('inventory/' + f)
with open(filename, 'r', encoding='utf-8') as f:
pw = f.read()
with open('releasepw.conf', 'r')
password = sys.argv[1]
with open('releasepw.conf', 'r', encoding='utf-8') as f:
password = f.read()
for file in files:
os.system("python webrepl\webrepl_cli.py -p {} {} 192.168.1.126:/{}".format(password, file, file))
......