mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-11-01 00:55:54 +00:00
5358b2bd2b
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.
4 lines
91 B
Python
Executable file
4 lines
91 B
Python
Executable file
#!/usr/bin/env python3
|
|
from nyaa import app
|
|
app.run(host='0.0.0.0', port=5500, debug=True)
|