Skip to content

Commit 13d4392

Browse files
committed
Fix schedule exporter
1 parent 8b15222 commit 13d4392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schedule_export.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import sys
66

77
def main(out):
8-
q = 'SELECT schedules.*, proposals.title from schedules JOIN proposals ON proposals.id=schedules.proposal'
8+
q = "SELECT schedules.*, proposals.data->>'title' as title from schedules JOIN proposals ON proposals.id=schedules.proposal"
99
keys = ('proposal', 'day', 'room', 'time', 'duration', 'title')
1010
with open(out, 'wb') as csvfile:
1111
writer = csv.writer(csvfile)

0 commit comments

Comments
 (0)