Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

NameError: global name 'unicode' is not defined #36

Closed
ksouthworth opened this issue May 31, 2015 · 1 comment
Closed

NameError: global name 'unicode' is not defined #36

ksouthworth opened this issue May 31, 2015 · 1 comment
Labels

Comments

@ksouthworth
Copy link

When I try to call slack.files.upload('test.jpg') I'm getting this error:

  File "/usr/local/lib/python3.2/dist-packages/slacker/__init__.py", line 338, in upload
    with open(unicode(file_, 'utf-8'), 'rb') as f:
NameError: global name 'unicode' is not defined

Using python 3.2.3 on a RaspberryPi running Raspbian OS (Debian)

@os os closed this as completed in dcc7685 Jun 1, 2015
@os
Copy link
Owner

os commented Jun 1, 2015

Thanks for the ticket. Fixed in v0.6.2.

@os os added the bug label Jul 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants