haz / BuzzData-Library

Various libraries for interfacing with the BuzzData API.

Home Page:http://www.buzzdata.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library calls shouldn't cast an error

haz opened this issue · comments

This is an example where things can go wrong"

Creating a datafile...
Traceback (most recent call last):
  File "example.py", line 147, in <module>
    (response, datafile) = room.create_datafile('test-data-file')
  File "/Users/anthonynonso/python/buzzdata.py", line 155, in create_datafile
    datafile = DataFile(self, response['datafile_uuid'])
TypeError: string indices must be integers, not str

Addressed with 9e81ba4