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 ++-- plugin/decky_plugin.pyi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugin') 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`. diff --git a/plugin/decky_plugin.pyi b/plugin/decky_plugin.pyi index 72e1686e..b86a7a70 100644 --- a/plugin/decky_plugin.pyi +++ b/plugin/decky_plugin.pyi @@ -36,7 +36,7 @@ It would be `root` if `root` was specified in the plugin's flags otherwise the u e.g.: `deck` """ -USER_ID: int +USER_ID: str """ The effective UID running the process. Environment variable: `UID`. @@ -58,7 +58,7 @@ Environment variable: `DECKY_USER`. e.g.: `deck` """ -DECKY_USER_ID: int +DECKY_USER_ID: str """ The UID of the user whose home decky resides in. Environment variable: `DECKY_USER_ID`. -- cgit v1.2.3