generate-asinfo.py: Removing leading on the country

This commit is contained in:
Alarig Le Lay 2020-08-01 12:43:14 +02:00
parent c233dd1ff0
commit f29a39dd49
No known key found for this signature in database
GPG Key ID: 7AFE62C6DF8BCDEC

View File

@ -11,6 +11,7 @@ for line in sys.stdin:
try:
data,country = data.rsplit(',',1)
country = country.strip()
except:
data = data