Try some shit to fix flit's errors.

master
josiah 3 years ago
parent 8cb20ea0cf
commit 45ce6bfe35

1
.gitignore vendored

@ -1 +1,2 @@
env/
/dist/

@ -6,6 +6,6 @@ build-backend = "flit_core.buildapi"
module = "warren"
author = "josiah"
author-email = "me@jowj.net"
home-page = "https://jowj.net"
home-page = "https://git.awful.club/projects/warren"
classifiers = [ "License :: OSI Approved :: MIT License",]

@ -4,6 +4,8 @@ This will listen on two endpoints, and when data is
posted to the proper one, matching a particular format,
it will save that data to a local sqlite3 db."""
__version__ = "0.1.0"
from datetime import datetime
import logging
import os
@ -15,10 +17,8 @@ import sqlite3
import pdb
__version__ = "0.1.0"
logging.basicConfig(level=logging.DEBUG)
dbpath = "warren.db"
app = Flask(__name__)
@ -96,7 +96,6 @@ def weir():
return "OK"
except:
return "Error.", 400
if __name__ == '__main__':