(20241128) Utils upgraded.
This commit is contained in:
@@ -156,7 +156,7 @@ async def mail_callback(
|
||||
|
||||
if tokens:
|
||||
|
||||
# Add information and :
|
||||
# Add information and:
|
||||
user_profile = await current_app.gmail_client.get_user_profile(tokens = tokens)
|
||||
tokens.email = user_profile.data["emailAddress"] if user_profile.success else None
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
from utils_v2.system import files
|
||||
import os
|
||||
print("CWD:", files.get_cwd())
|
||||
print("FDR:", files.get_file_directory())
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
from playground import cwd_test
|
||||
from utils_v2.system import files
|
||||
import os
|
||||
print("\n\n---\n\n")
|
||||
print("SUB CWD:", files.get_cwd())
|
||||
print("SUB FDR:", files.get_file_directory())
|
||||
print("\n\n---\n\n")
|
||||
print("PARENT:", files.get_parent_directory(files.get_file_directory()[1:], depth = 6))
|
||||
|
||||
Reference in New Issue
Block a user