Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small error in chapter 4 #257

Closed
ailnlv opened this issue Jan 21, 2015 · 1 comment
Closed

Small error in chapter 4 #257

ailnlv opened this issue Jan 21, 2015 · 1 comment

Comments

@ailnlv
Copy link

ailnlv commented Jan 21, 2015

In the 'Homemade task queues' section, the book claims that by running

python web2py.py -S app -M -R applications/app/private/myscript.py -A a b c

you get the command line arguments 'a', 'b' and 'c':

sys.args=['a','b','c']

It should say instead

sys.argv=['applications/app/private/myscript.py','a','b','c']

There is no args in sys.

@timrichardson
Copy link
Contributor

fix in PR

@ailnlv ailnlv closed this as completed Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants