mariano/pyfire

Global name 'room' is not defined in upload.py

madzak opened this issue · 1 comments

When trying to upload files in snakefire i'm getting this error. Not sure if it pyfire or snakefire at this point.

Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in bootstrap_inner
self.run()
File "/opt/development/snakefire/snakefire/pyfire/pyfire/upload.py", line 68, in run
process = UploadProcess(self._connection_settings, self._room.id, queue, self._files)
File "/opt/development/snakefire/snakefire/pyfire/pyfire/upload.py", line 125, in __init

self._room = room
NameError: global name 'room' is not defined

Centered on this guy https://github.com/mariano/pyfire/blob/master/pyfire/upload.py#L125 because in the init you are passing in "room_id" and not room.