From 8777b386810aaabfe8381e4a371d78eaee3346c9 Mon Sep 17 00:00:00 2001 From: nnayk <79224511+nnayk@users.noreply.github.com> Date: Thu, 7 Dec 2023 22:13:55 -0800 Subject: [PATCH] DB azure test --- Backend/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Backend/backend.py b/Backend/backend.py index 1a421dc..e02628b 100644 --- a/Backend/backend.py +++ b/Backend/backend.py @@ -100,8 +100,7 @@ def store_image(): image_res = requests.post( "https://api.imgur.com/3/image", data={"image": data["url"]}, - headers={"Authorization": "Client-ID " - + os.environ["IMGUR_CLIENT_ID"]}, + headers={"Authorization": "Client-ID " + os.environ["IMGUR_CLIENT_ID"]}, ) # Prepare the data for creating an image @@ -331,6 +330,7 @@ def verify_user(): if __name__ == "__main__": + print("Starting server...") db_access.db_connect() try: app.run(port=5000, debug=True)