diff options
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/decky_plugin.py | 4 | ||||
| -rw-r--r-- | plugin/decky_plugin.pyi | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugin/decky_plugin.py b/plugin/decky_plugin.py index 8464e489..3a4e0155 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: str = str(os.getenv("USER_ID", default="-1")) +USER_ID: int = int(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: str = str(os.getenv("DECKY_USER_ID", default="-1")) +DECKY_USER_ID: int = int(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 b86a7a70..72e1686e 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: str +USER_ID: int """ The effective UID running the process. Environment variable: `UID`. @@ -58,7 +58,7 @@ Environment variable: `DECKY_USER`. e.g.: `deck` """ -DECKY_USER_ID: str +DECKY_USER_ID: int """ The UID of the user whose home decky resides in. Environment variable: `DECKY_USER_ID`. |
