this isn't an apple

This commit is contained in:
Kenneth Reitz
2011-03-23 03:56:07 -04:00
parent c5bbc74b96
commit 0913b54f47
+1 -1
View File
@@ -46,7 +46,7 @@ def import_book(dbook, in_stream):
dbook.wipe()
for sheet in yaml.load(in_stream):
data = tablib.core.Dataset()
data = tablib.Dataset()
data.title = sheet['title']
data.dict = sheet['data']
dbook.add_sheet(data)