kopia lustrzana https://github.com/ctjacobs/pyqso
Allow whitespace (e.g. newline characters for the multiline NOTES field) when importing ADIF files.
rodzic
e00af44173
commit
a09696b4a5
|
@ -258,7 +258,7 @@ class ADIF:
|
||||||
n_eor = 0
|
n_eor = 0
|
||||||
n_record = 0
|
n_record = 0
|
||||||
records = []
|
records = []
|
||||||
pattern = re.compile("<(.*?):(\d*).*?>([^<\t\n\r\f\v]+)")
|
pattern = re.compile("<(.*?):(\d*).*?>([^<]+)")
|
||||||
|
|
||||||
for t in tokens:
|
for t in tokens:
|
||||||
if(re.match("<eor>", t, flags=re.IGNORECASE) is not None):
|
if(re.match("<eor>", t, flags=re.IGNORECASE) is not None):
|
||||||
|
|
Ładowanie…
Reference in New Issue