1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 10:19:59 +00:00

Add proper shebang line to run.py (#275)

Without a shebang, the shell tries to interpret the file as a shell
script if you issue the ./run.py command; setting chmod +x on the
file without a proper shebang is useless.
This commit is contained in:
Nicolas F 2017-06-29 23:48:19 +02:00 committed by Anna-Maria Meriniemi
parent 081eb16246
commit 5358b2bd2b

1
run.py
View file

@ -1,2 +1,3 @@
#!/usr/bin/env python3
from nyaa import app from nyaa import app
app.run(host='0.0.0.0', port=5500, debug=True) app.run(host='0.0.0.0', port=5500, debug=True)