From 501e016e099150583a92cf1d8bd662bb815d90d5 Mon Sep 17 00:00:00 2001 From: Slappybag Date: Mon, 3 Jun 2013 23:08:42 +0100 Subject: [PATCH 1/2] CSV Export supports null values --- migrations/csvexport.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/migrations/csvexport.py b/migrations/csvexport.py index f50799e73b..4aa607cb33 100644 --- a/migrations/csvexport.py +++ b/migrations/csvexport.py @@ -1,10 +1,10 @@ import csv -data = csv.reader(open('/home/slappybag/backrs/800dollar.csv', 'rb'), delimiter=",", quotechar='|') -column = [] +with open(r"/home/slappybag/Documents/SurveyScrape.csv") as f: + reader = csv.reader(f, delimiter=',', quotechar='"') + column = [] + for row in reader: + if row: + column.append(row[4]) -for row in data: - column.append(row[9]) - -print "one:" print column \ No newline at end of file From 81297823da5f1db23edd9abd267cbf1820282f84 Mon Sep 17 00:00:00 2001 From: Slappybag Date: Mon, 3 Jun 2013 23:08:58 +0100 Subject: [PATCH 2/2] Added gem explanation text --- views/app/groups.html | 1 + 1 file changed, 1 insertion(+) diff --git a/views/app/groups.html b/views/app/groups.html index bd56cd9cd7..a91396ef6d 100644 --- a/views/app/groups.html +++ b/views/app/groups.html @@ -111,6 +111,7 @@ Invite Only 4 Gems +

The Gem cost promotes high quality guilds and is transferred into your guild's bank so you can use as rewards in the upcoming challenges feature!

{{else}}