Skip to content

Commit

Permalink
Merge pull request #25 from tingletech/master
Browse files Browse the repository at this point in the history
nxid python 3 bug
  • Loading branch information
tingletech authored Oct 9, 2019
2 parents 297ae68 + c310a8b commit 92f813f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pynux/nxid.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
except ImportError:
# Fall back to Python 2's urllib2
from urllib2 import urlopen
try:
unicode = unicode ## for python 2
except NameError:
unicode = str ## for python 3
import EZID
from pynux import utils
from pynux.utils import utf8_arg
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages
setup(
name='pynux',
version = "1.0.4",
version = "1.0.5",
packages = find_packages(),
install_requires = [
'requests',
Expand Down

0 comments on commit 92f813f

Please sign in to comment.