Skip to content

Commit

Permalink
Fixed typo that resulted in write to closed filehandle. Resolves #224.
Browse files Browse the repository at this point in the history
  • Loading branch information
danslimmon committed Nov 24, 2013
1 parent b9b3592 commit 11a8fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def run_command(command):
sup_oscar_scan.close()

sup_oscar_web = open('/etc/supervisor/conf.d/oscar_web.conf', 'w')
sup_oscar_scan.write('''[program:oscar_web]
sup_oscar_web.write('''[program:oscar_web]
command=/usr/local/bin/node --debug /var/oscar/web/app.js
directory=/var/oscar/web
Expand Down

2 comments on commit 11a8fdb

@danslimmon
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, this should say resolves #13.

@fremenusul
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrmm.. Still getting same error.

git is already the newest version.
supervisor is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Traceback (most recent call last):
File "./install.py", line 224, in
redirect_stderr=true''')
ValueError: I/O operation on closed file

Please sign in to comment.