Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 Fix #12

Open
Dauth opened this issue Nov 4, 2015 · 3 comments
Open

Python 3 Fix #12

Dauth opened this issue Nov 4, 2015 · 3 comments

Comments

@Dauth
Copy link

Dauth commented Nov 4, 2015

script works in python 3 with just a small fix.

replace "if (isinstance(value, basestring)" in the init file with "if (isinstance(value, (str,bytes))"

@originell
Copy link
Contributor

don't you want to submit a pull request ;-)? So you are properly marked into this project's history?

@oskrocha
Copy link

oskrocha commented Jun 2, 2016

I also had to do a small fix in the init file to make it work with python 3. Line 64:
for key, value in dic.iteritems():
has to be changed with:
for key, value in dic.items():

@aolieman
Copy link

Maintenance in this repo seems to have halted, so I did a new release based on my fork: https://pypi.python.org/pypi/pyspotlight/0.7.1

Issues and pull requests are welcome at https://github.com/aolieman/pyspotlight!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants