summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/csv2sto.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/csv2sto.py b/scripts/csv2sto.py
index 9609a99..0f0e697 100755
--- a/scripts/csv2sto.py
+++ b/scripts/csv2sto.py
@@ -1,4 +1,11 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2012-2013 Tobias Klauser <tklauser@distanz.ch>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
import os, sys
import getopt
@@ -66,12 +73,12 @@ def main():
if tot_nRows == 0:
tot_nRows = nRows
elif tot_nRows != nRows:
- print "Error: Number of rows in CSV files does not match"
+ print "Error: Number of rows in CSV files do not match"
sys.exit(-1)
if tot_nCols == 0:
tot_nCols = nCols
elif tot_nCols != nCols:
- print "Error: Number of columns in CSV files does not match"
+ print "Error: Number of columns in CSV files do not match"
sys.exit(-1)
fd.close()