From dd0bfb482119f44ff80d76b0847ca10e77c9b15d Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Sun, 5 Mar 2023 18:07:17 -0800 Subject: Int is nice but it breaks plugins --- plugin/decky_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/decky_plugin.py') diff --git a/plugin/decky_plugin.py b/plugin/decky_plugin.py index 3a4e0155..8464e489 100644 --- a/plugin/decky_plugin.py +++ b/plugin/decky_plugin.py @@ -38,7 +38,7 @@ It would be `root` if `root` was specified in the plugin's flags otherwise the u e.g.: `deck` """ -USER_ID: int = int(os.getenv("USER_ID", default="-1")) +USER_ID: str = str(os.getenv("USER_ID", default="-1")) """ The effective UID running the process. Environment variable: `USER_ID`. @@ -60,7 +60,7 @@ Environment variable: `DECKY_USER`. e.g.: `deck` """ -DECKY_USER_ID: int = int(os.getenv("DECKY_USER_ID", default="-1")) +DECKY_USER_ID: str = str(os.getenv("DECKY_USER_ID", default="-1")) """ The UID of the user whose home decky resides in. Environment variable: `DECKY_USER_ID`. -- cgit v1.2.3