Minor change to --pidfile argument

This commit is contained in:
Pablo Hoffman 2010-08-28 14:07:03 -03:00
parent 0ae4c3aa82
commit d4941a0619
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class ScrapyCommand(object):
if opts.pidfile:
with open(opts.pidfile, "w") as f:
f.write(str(os.getpid()))
f.write(str(os.getpid()) + os.linesep)
def run(self, args, opts):
"""