Little clean up. Updated requirements.txt and turned off the flask run thing in preperation to try running under waitress.

This commit is contained in:
2020-04-17 00:31:59 -04:00
parent 6bd4addc9c
commit f04220fc03
3 changed files with 21 additions and 72 deletions

View File

@@ -195,7 +195,6 @@ def ood():
def test():
y = 0
mangaInfo=[]
tf = """{"version":2,"mangas":[{"manga":["/manga/ul921197","A Wife Who Heals With Tights",2528986671771677900,0,0]},{"manga":["/manga/Amano-Megumi-Wa-Suki-Darake","Amano Megumi wa Suki Darake!",9,0,0]},{"manga":["/manga/Ansatsu-Kyoushitsu","Ansatsu Kyoushitsu",9,0,0]},{"manga":["/manga/ab918062","Ashigei Shoujo Komura-San",2528986671771677900,0,0]},{"manga":["/manga/mrs-serie-200174290","Asper Girl",1554176584893433663,0,0]},{"manga":["/manga/ga919880","Awkward Senpai",2528986671771677900,0,0]},{"manga":["/manga/31231/","Azur Lane: Queen\u0027s Orders",2499283573021220255,0,0]},{"manga":["https://manganelo.com/manga/read_bakuman_manga_online","Bakuman",2528986671771677900,0,0]}]"""
mangaName = manga.query.all()
with open(PATH + "/tach.json", "r") as tf:
@@ -213,4 +212,4 @@ def test():
return jsonify(mangaInfo)
if __name__ == "__main__":
app.run(host='0.0.0.0', debug=True)
# app.run(host='0.0.0.0', debug=True)