mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-01-07 01:00:42 +01:00
timezone field of qrz.com must be str and not int
This commit is contained in:
parent
bf785f45f5
commit
b8bd89b2f2
|
|
@ -1,6 +1,14 @@
|
|||
Changelog
|
||||
---------
|
||||
|
||||
PyHamtools 0.8.2
|
||||
================
|
||||
|
||||
05. December 2022
|
||||
|
||||
* timezone field from QRZ.com casted to str instead of int
|
||||
|
||||
|
||||
PyHamtools 0.8.1
|
||||
================
|
||||
|
||||
|
|
@ -9,7 +17,6 @@ PyHamtools 0.8.1
|
|||
* removed debug print statement from QRZ.com queries
|
||||
|
||||
|
||||
|
||||
PyHamtools 0.8.0
|
||||
================
|
||||
|
||||
|
|
|
|||
|
|
@ -935,7 +935,7 @@ class LookupLib(object):
|
|||
if root.Callsign.AreaCode:
|
||||
lookup[const.AREACODE] = int(root.Callsign.AreaCode.text)
|
||||
if root.Callsign.TimeZone:
|
||||
lookup[const.TIMEZONE] = int(root.Callsign.TimeZone.text)
|
||||
lookup[const.TIMEZONE] = root.Callsign.TimeZone.text
|
||||
if root.Callsign.GMTOffset:
|
||||
lookup[const.GMTOFFSET] = float(root.Callsign.GMTOffset.text)
|
||||
if root.Callsign.DST:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
VERSION = (0, 8, 1)
|
||||
VERSION = (0, 8, 2)
|
||||
__release__ = ''.join(['-.'[type(x) == int]+str(x) for x in VERSION])[1:]
|
||||
__version__ = '.'.join((str(VERSION[0]), str(VERSION[1])))
|
||||
|
|
|
|||
Loading…
Reference in a new issue