location: make accuracy default config floats

previously they were ints which could possibly
break caching with cachew
This commit is contained in:
Sean Breckenridge 2023-09-30 14:23:56 -07:00
parent 8addd2d58a
commit 7511564b37
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ class Config(user_config):
# default ~30km accuracy
# this is called 'home_accuracy' since it lives on the base location.config object,
# to differentiate it from accuracy for other providers
home_accuracy: float = 30_000
home_accuracy: float = 30_000.0
# TODO could make current Optional and somehow determine from system settings?
@property