Skip to content

Commit

Permalink
save minimum_blender_stable_version as str
Browse files Browse the repository at this point in the history
otherwise, it may get cut off and end up invalid
  • Loading branch information
zeptofine committed Apr 1, 2024
1 parent cb0662c commit 836e0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/modules/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def get_minimum_blender_stable_version() -> Version:


def set_minimum_blender_stable_version(v: Version):
get_settings().setValue("minimum_blender_stable_version", float(f"{v.major}.{v.minor}"))
get_settings().setValue("minimum_blender_stable_version", f"{v.major}.{v.minor}")


def get_scrape_stable_builds() -> bool:
Expand Down

0 comments on commit 836e0d7

Please sign in to comment.