Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Barry
/
esp8266-Mud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
eded01f8
authored
2018-04-28 17:46:17 -0700
by
Barry
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated release to pull password from a conf file.
1 parent
43b432d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
release.py
release.py
View file @
eded01f
...
...
@@ -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
))
...
...
Please
register
or
sign in
to post a comment