Skip to content

Commit

Permalink
Merge pull request #26 from Garulf/fix-userlogin-optional-fields
Browse files Browse the repository at this point in the history
Fix userlogin.vdf optional fields
  • Loading branch information
Garulf authored May 2, 2022
2 parents 8e1a179 + a0b4534 commit 64a4bd5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Name": "Steam Search",
"Description": "Search and launch your Steam Game library",
"Author": "Garulf",
"Version": "4.0.3",
"Version": "4.0.4",
"Language": "python",
"Website": "https://github.com/Garulf/Steam-Search",
"IcoPath": "plugin\\icon\\steam-icon.png",
Expand Down
11 changes: 6 additions & 5 deletions plugin/loginusers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ class LoginUser:
ID: str
AccountName: str
PersonaName: str
RememberPassword: str
WantsOfflineMode: str
SkipOfflineModeWarning: str
AllowAutoLogin: str
MostRecent: str
Timestamp: str
steam_path: Union[str, Path]
RememberPassword: str = None
WantsOfflineMode: str = None
SkipOfflineModeWarning: str = None
AllowAutoLogin: str = None
Timestamp: str = None


def __post_init__(self):
self.RememberPassword = bool(strtobool(self.RememberPassword))
Expand Down

0 comments on commit 64a4bd5

Please sign in to comment.