feat(weather): wehaer value sky model instead of text cloudness
This commit is contained in:
@@ -10,7 +10,7 @@ class LocationValue(NamedTuple):
|
||||
|
||||
@classmethod
|
||||
def parse(cls, source: str) -> "LocationValue":
|
||||
location, name = source.split("-")
|
||||
name, location = source.split("-")
|
||||
return cls(int(location), name)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user