Commit 43ed601e authored by Amos Latteier's avatar Amos Latteier

Fixed a syntax error. Thanks to Martijn Pieters for pointing out the problem.

parent 4586d2c6
......@@ -136,8 +136,8 @@ zftp = FTPServer(
# if it hasn't failed at this point, create a .pid file.
pf = open(PID_FILE), 'w+')
pf.write(("%s" % os.getpid()))
pf = open(PID_FILE, 'w')
pf.write(str(os.getpid()))
pf.close()
......
......@@ -136,8 +136,8 @@ zftp = FTPServer(
# if it hasn't failed at this point, create a .pid file.
pf = open(PID_FILE), 'w+')
pf.write(("%s" % os.getpid()))
pf = open(PID_FILE, 'w')
pf.write(str(os.getpid()))
pf.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment