Skip to content

Commit

Permalink
fix #129
Browse files Browse the repository at this point in the history
  • Loading branch information
drPilman authored and fdev31 committed Aug 14, 2024
1 parent 885dbde commit 4969401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyprland/plugins/pyprland.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def init(self) -> None:

if version_str:
try:
self.__set_hyprland_version(version_str[1:], auto_increment)
self.__set_hyprland_version(version_str[1:] if version_str.startswith("v") else version_str, auto_increment)
except Exception: # pylint: disable=broad-except
self.log.exception('Fail to parse version tag "%s"', version_str)
await self.notify_error(f"Failed to parse hyprctl version tag: {version_str}")
Expand Down

0 comments on commit 4969401

Please sign in to comment.