mirror of https://github.com/scrapy/scrapy.git
Minor change to --pidfile argument
This commit is contained in:
parent
0ae4c3aa82
commit
d4941a0619
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue