From e11d9e169fece5e22bad96a1a042dca451681ac4 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Fri, 11 Dec 2015 14:01:26 +0100 Subject: open csv file in text mode --- usr/share/mageiawelcome/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1