mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-19 10:16:47 +00:00
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)
|