From 41a2ec0e4d591f1ee93427b705a3b9d748273b6d Mon Sep 17 00:00:00 2001 From: EggMan Date: Fri, 3 May 2024 19:02:19 -0400 Subject: [PATCH] sync --- .idea/CNSA-276-FP.iml | 2 +- .idea/dataSources.xml | 2 +- .idea/misc.xml | 2 +- main.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.idea/CNSA-276-FP.iml b/.idea/CNSA-276-FP.iml index b7fe510..b4c5f04 100644 --- a/.idea/CNSA-276-FP.iml +++ b/.idea/CNSA-276-FP.iml @@ -5,7 +5,7 @@ - + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index c947738..e437037 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -1,7 +1,7 @@ - + postgresql true org.postgresql.Driver diff --git a/.idea/misc.xml b/.idea/misc.xml index 92298c3..0cddb8e 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/main.py b/main.py index d619760..5519220 100644 --- a/main.py +++ b/main.py @@ -61,6 +61,7 @@ def badCred(): print("Bad credential!") time.sleep(3) while True: + print("Waiting for device...") while True: dev = next(CtapHidDevice.list_devices(), None) @@ -72,7 +73,6 @@ while True: print(str(gotAaguid)) break - print("Waiting for device...") time.sleep(0.1) # Handle user interaction @@ -186,4 +186,4 @@ while True: print("AUTH DATA:", result.authenticator_data) time.sleep(5) except Exception as e: - pass \ No newline at end of file + print("Authentication Failed!") \ No newline at end of file