Skip to content

Commit

Permalink
Account for the empty string during logfile extras parsing
Browse files Browse the repository at this point in the history
Treat empty strings the same way that "ZZ" and "?" values are treated.
  • Loading branch information
lovett committed Jun 26, 2018
1 parent cbea3f2 commit f0bc4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/parse.py
Expand Up @@ -432,7 +432,7 @@ def parse_appengine(self, val):
fields["referrer_domain"] = parse_result.netloc

for key, value in fields["extras"].items():
if value in ("ZZ", "?"):
if value in ("ZZ", "?", ""):
continue

if key == "country":
Expand Down

0 comments on commit f0bc4b5

Please sign in to comment.