kopia lustrzana https://codeberg.org/argrento/huami-token
Probably fix of #31. For some reason 'cep_1week.zip' and 'cep_alm_pak.zip' are identical.
rodzic
24033ac2c1
commit
12666e51a2
|
@ -224,8 +224,8 @@ class HuamiAmazfit:
|
|||
|
||||
def get_gps_data(self) -> None:
|
||||
"""Download GPS packs: almanac and AGPS"""
|
||||
agps_packs = ["AGPS_ALM", "AGPSZIP"]
|
||||
agps_file_names = ["cep_alm_pak.zip", "cep_7days.zip"]
|
||||
agps_packs = ["AGPS_ALM", "AGPSZIP", "LLE", "AGPS"]
|
||||
agps_file_names = ["cep_1week.zip", "cep_7days.zip", "lle_1week.zip", "cep_pak.bin"]
|
||||
agps_link = urls.URLS['agps']
|
||||
|
||||
headers = urls.PAYLOADS['agps']
|
||||
|
|
Ładowanie…
Reference in New Issue