diff options
| author | TrainDoctor <traindoctor@protonmail.com> | 2023-03-05 18:07:17 -0800 |
|---|---|---|
| committer | TrainDoctor <traindoctor@protonmail.com> | 2023-03-05 18:07:17 -0800 |
| commit | dd0bfb482119f44ff80d76b0847ca10e77c9b15d (patch) | |
| tree | f159a5e4b67742ff18aa33ecb757f7fd15922a10 | |
| parent | c1055b73bba06e80a0294d8fe1d69494912b05eb (diff) | |
| download | decky-loader-dd0bfb482119f44ff80d76b0847ca10e77c9b15d.tar.gz decky-loader-dd0bfb482119f44ff80d76b0847ca10e77c9b15d.zip | |
Int is nice but it breaks plugins
| -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 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`. |
