diff --git a/app.py b/app.py index 9118387..9958d6d 100644 --- a/app.py +++ b/app.py @@ -25,5 +25,6 @@ def all_images(): # TODO Implement return NotImplementedError + if __name__ == '__main__': app.run(host='0.0.0.0') diff --git a/service/bing_downloader.py b/service/bing_downloader.py index 50ad993..342376a 100644 --- a/service/bing_downloader.py +++ b/service/bing_downloader.py @@ -1,6 +1,7 @@ -import xml.etree.ElementTree as ElementTree -import requests import datetime +import xml.etree.ElementTree as ElementTree + +import requests from db.database import Session, Image