timezone field of qrz.com must be str and not int

This commit is contained in:
Tobias Wellnitz, DH1TW 2022-12-05 02:25:03 +01:00
parent bf785f45f5
commit b8bd89b2f2
3 changed files with 10 additions and 3 deletions

View file

@ -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
================

View file

@ -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:

View file

@ -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])))