Skip to content

Commit 88bdcf5

Browse files
kamilkrzyskowsquidfunk
authored andcommitted
Fixed empty username fallback
1 parent d0c4bd6 commit 88bdcf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

material/plugins/info/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def on_config(self, config):
284284
try:
285285
username = getpass.getuser()
286286
except Exception:
287-
username = ""
287+
username = "USERNAME"
288288

289289
# Add information on platform
290290
f.writestr(

src/plugins/info/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def on_config(self, config):
284284
try:
285285
username = getpass.getuser()
286286
except Exception:
287-
username = ""
287+
username = "USERNAME"
288288

289289
# Add information on platform
290290
f.writestr(

0 commit comments

Comments
 (0)