summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-06 10:48:15 +0200
committeremkael <emkael@tlen.pl>2017-09-06 10:48:15 +0200
commit9414a559f8b10fbd8972d33bf4bc08cf16c820cf (patch)
treea3baf65e9d31156b08e45e3c9c241b8c0be3a26c
parent35bf3d5878a1f09059d5ce63e00434aa8d5ea346 (diff)
Hard cutoff for import files, after 1000 places
-rw-r--r--bin/convert-cezar-ranking-csv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/convert-cezar-ranking-csv.py b/bin/convert-cezar-ranking-csv.py
index 4dcee92..aa30a23 100644
--- a/bin/convert-cezar-ranking-csv.py
+++ b/bin/convert-cezar-ranking-csv.py
@@ -5,5 +5,5 @@ data = list(csv.reader(file(sys.argv[1]), delimiter=";"))
output = csv.writer(file(sys.argv[2], 'w'))
date = data[1][3]
-for row in data[4:-1]:
+for row in data[4:1004]:
output.writerow([row[0], date, row[2], row[1]])