mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -56,7 +56,7 @@ def auth(args):
|
|||||||
gauth.SaveCredentialsFile("credentials.json")
|
gauth.SaveCredentialsFile("credentials.json")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error(f"Error: {e}")
|
logging.error(f"Error: {e}")
|
||||||
return
|
return 0
|
||||||
|
|
||||||
|
|
||||||
def refresh(args):
|
def refresh(args):
|
||||||
@ -90,4 +90,4 @@ def refresh(args):
|
|||||||
gauth.Authorize()
|
gauth.Authorize()
|
||||||
gauth.SaveCredentialsFile("credentials.json")
|
gauth.SaveCredentialsFile("credentials.json")
|
||||||
print("No refresh is required.")
|
print("No refresh is required.")
|
||||||
return
|
return 0
|
||||||
|
Reference in New Issue
Block a user