diff --git a/auth.sample.json b/auth.sample.json deleted file mode 100644 index 467ec34..0000000 --- a/auth.sample.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "id": "YOUR APP'S CLIENT ID HERE", - "secret": "YOUR APP'S CLIENT SECRET HERE" -} \ No newline at end of file diff --git a/login.py b/login.py index 5f9e1e5..a3a8db0 100644 --- a/login.py +++ b/login.py @@ -11,8 +11,6 @@ db = sqlite3.connect("database.db") c = db.cursor() c.execute("CREATE TABLE IF NOT EXISTS `data` (username VARCHAR NOT NULL, secret VARCHAR NOT NULL, latest_post VARCHAR)") -try: - client_auth = json.load(open("auth.json")) -except Exception: #todo: only handle file not found - print("Couldn't load auth.json, are you sure you created it?") + +