Skip to content

rstrip null zero from .list lines - #176

Merged
jteresco merged 1 commit into
TravelMapping:masterfrom
yakra:nullzero
Jan 24, 2019
Merged

rstrip null zero from .list lines#176
jteresco merged 1 commit into
TravelMapping:masterfrom
yakra:nullzero

Conversation

@yakra

Copy link
Copy Markdown
Contributor

This allows traveler lowenbrau to be properly credited for ON405.
As noted in #41 (comment):

Re .list files:
https://github.com/TravelMapping/UserData/blob/9ab420d7cc23d79b6d24f224c7186c88ee6ef777/list_files/lowenbrau.list

The final line, ON ON405 ON/USA PorRd, is followed by 1486 null \0s, before a final CRLF.

We can see that this line is not parsed:
http://travelmapping.net/logs/users/lowenbrau.log
http://travelmapping.net/hb/index.php?units=miles&u=lowenbrau&r=on.on405

This yields the same Python-to-Python diff as the Python-to-C++ diff pasted at #41 (comment)

@jteresco
jteresco merged commit 791e6be into TravelMapping:masterJan 24, 2019
@yakra
yakra deleted the nullzero branch January 31, 2019 00:14
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@yakra@jteresco