Fixed empty username fallback

This commit is contained in:
Kamil Krzyśków 2025-07-23 21:26:11 +02:00 committed by Martin Donath
parent d0c4bd618f
commit 88bdcf5f16
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ class InfoPlugin(BasePlugin[InfoConfig]):
try: try:
username = getpass.getuser() username = getpass.getuser()
except Exception: except Exception:
username = "" username = "USERNAME"
# Add information on platform # Add information on platform
f.writestr( f.writestr(

View File

@ -284,7 +284,7 @@ class InfoPlugin(BasePlugin[InfoConfig]):
try: try:
username = getpass.getuser() username = getpass.getuser()
except Exception: except Exception:
username = "" username = "USERNAME"
# Add information on platform # Add information on platform
f.writestr( f.writestr(