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

Cannot find entry point after obsfucated some module #3

Open
sinowood opened this issue Jul 22, 2022 · 1 comment
Open

Cannot find entry point after obsfucated some module #3

sinowood opened this issue Jul 22, 2022 · 1 comment

Comments

@sinowood
Copy link

app.py

from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
    return 'hello world'
if __name__ == '__main__':
    app.run(host='127.0.0.1',port=5000)

After obsfucated, I can't find the "app" variable, so I am unable to start it in gunicorn. How can it?

@billythegoat356
Copy link
Owner

Weird bug. I think it's because of the @ before of "app".
We'll try to fix this.

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