Permalink
Browse files

fixes regression that broke d-scan formatting

  • Loading branch information...
1 parent dc84fc2 commit 1ccc68edbc9cb4f120ceb2e5d079f4118e927ad0 @sudorandom sudorandom committed Dec 24, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 .gitignore
  2. +1 −1 cargoscanner.py
View
@@ -3,5 +3,5 @@
build
dist
*.swp
-data/scans
+data/scans.db
data/current_scan_id.dat
View
@@ -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

0 comments on commit 1ccc68e

Please sign in to comment.