mirror of https://github.com/calzoneman/sync.git
Fix version.py
This commit is contained in:
parent
760e14ca01
commit
241b7d1496
|
@ -42,7 +42,7 @@ with open("package.json", "w") as f:
|
||||||
f.write("".join(pkgbuf))
|
f.write("".join(pkgbuf))
|
||||||
|
|
||||||
serbuf = []
|
serbuf = []
|
||||||
with open("server.js") as f:
|
with open("lib/server.js") as f:
|
||||||
for line in f:
|
for line in f:
|
||||||
m = SERVER.search(line)
|
m = SERVER.search(line)
|
||||||
sb = []
|
sb = []
|
||||||
|
@ -69,5 +69,5 @@ with open("server.js") as f:
|
||||||
print("server.js: {} => {}".format(line, "".join(sb)))
|
print("server.js: {} => {}".format(line, "".join(sb)))
|
||||||
else:
|
else:
|
||||||
serbuf.append(line)
|
serbuf.append(line)
|
||||||
with open("server.js", "w") as f:
|
with open("lib/server.js", "w") as f:
|
||||||
f.write("".join(serbuf))
|
f.write("".join(serbuf))
|
||||||
|
|
Loading…
Reference in New Issue