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 /plugin/decky_plugin.py | |
| parent | c1055b73bba06e80a0294d8fe1d69494912b05eb (diff) | |
| download | decky-loader-dd0bfb482119f44ff80d76b0847ca10e77c9b15d.tar.gz decky-loader-dd0bfb482119f44ff80d76b0847ca10e77c9b15d.zip | |
Int is nice but it breaks plugins
Diffstat (limited to 'plugin/decky_plugin.py')
| -rw-r--r-- | plugin/decky_plugin.py | 4 |
1 files changed, 2 insertions, 2 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`. |
