Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes regression that broke d-scan formatting

  • Loading branch information...
commit 1ccc68edbc9cb4f120ceb2e5d079f4118e927ad0 1 parent dc84fc2
@sudorandom sudorandom authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  .gitignore
  2. +1 −1  cargoscanner.py
View
2  .gitignore
@@ -3,5 +3,5 @@
build
dist
*.swp
-data/scans
+data/scans.db
data/current_scan_id.dat
View
2  cargoscanner.py
@@ -353,7 +353,7 @@ def _add_type(name, count):
continue
# aiming for format "PERSON'S NAME\tShipType\tdistance"
- if fmt_line.count("\t") > 2:
+ if fmt_line.count("\t") > 1:
_, item, _ = fmt_line.split("\t", 2)
if _add_type(item.strip(), 1):
continue
Please sign in to comment.
Something went wrong with that request. Please try again.