Skip to content

Commit

Permalink
Changed imports to absolute instead of relative (PEP 20).
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoFHG committed Apr 22, 2020
1 parent ba46a9a commit 430e6f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion file_indexer_api/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from app import app
from file_indexer_api.app import app

if __name__ == '__main__':
app.run(debug=True)
Expand Down
4 changes: 2 additions & 2 deletions file_indexer_api/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from flask import Flask
from flask_restful import Api
from controllers.indexer_controller import IndexerController
from controllers.search_controller import SearchController
from file_indexer_api.controllers.indexer_controller import IndexerController
from file_indexer_api.controllers.search_controller import SearchController

app = Flask(__name__)
api = Api(app)
Expand Down

0 comments on commit 430e6f4

Please sign in to comment.