summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Napora <napcok@gmail.com>2015-12-11 14:01:26 +0100
committerDaniel Napora <napcok@gmail.com>2015-12-11 14:01:26 +0100
commite11d9e169fece5e22bad96a1a042dca451681ac4 (patch)
tree5f7024c18d588f9417f23562e9d9165759aa3edd
parenteacf0a0ab2311688ffefbbb4ef4845902937acf4 (diff)
downloadmageiawelcome-e11d9e169fece5e22bad96a1a042dca451681ac4.tar
mageiawelcome-e11d9e169fece5e22bad96a1a042dca451681ac4.tar.gz
mageiawelcome-e11d9e169fece5e22bad96a1a042dca451681ac4.tar.bz2
mageiawelcome-e11d9e169fece5e22bad96a1a042dca451681ac4.tar.xz
mageiawelcome-e11d9e169fece5e22bad96a1a042dca451681ac4.zip
open csv file in text mode
-rw-r--r--usr/share/mageiawelcome/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/share/mageiawelcome/helpers.py b/usr/share/mageiawelcome/helpers.py
index c13fb3e..080eb5e 100644
--- a/usr/share/mageiawelcome/helpers.py
+++ b/usr/share/mageiawelcome/helpers.py
@@ -49,7 +49,7 @@ def is_installed(name):
def get_listapp():
listapp = ''
- with open("apps.csv", 'rb') as f:
+ with open("apps.csv", 'rt') as f:
mycsv = csv.reader(f,delimiter='|')
next(mycsv)
for r in mycsv: