flask-imgur
flask-imgur copied to clipboard
Send images to imgur from your flask app
Did `pip install Flask-Imgur` and imported the package `from flask_imgur import Imgur` But getting below error ``` Traceback (most recent call last): File "app.py", line 4, in from flask_imgur import...
Lazy loading would really by appreciated. ```Python from flask_imgur.flask_imgur import Imgur imgur = Imgur() def create_app(): app = Flask(__name__) imgur.init_app(app) return app ```
When you pip install the library, the example code won't work unless you move the flask_imgur.py file outside of the directory it's installed into (also called flask_imgur). ``` mv /usr/local/lib/python2.7/dist-packages/flask_imgur/flask_imgur.py...