From 9414a559f8b10fbd8972d33bf4bc08cf16c820cf Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 6 Sep 2017 10:48:15 +0200 Subject: Hard cutoff for import files, after 1000 places --- bin/convert-cezar-ranking-csv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]]) -- cgit v1.2.3