also split on non-breaking spaces

This commit is contained in:
sigma67 2021-12-20 10:11:51 +01:00
commit 2aad7232f2
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0

View file

@ -96,7 +96,7 @@ def get_datestamp():
def to_int(string):
number_string = string.split(' ')[0]
number_string = re.split('[\x20\xa0]', string)[0]
try:
int_value = locale.atoi(number_string)
except ValueError: