Skip to content

Commit

Permalink
Merge pull request #27 from tingletech/v1.0.6
Browse files Browse the repository at this point in the history
remove stdout juggling
  • Loading branch information
tingletech authored Feb 12, 2020
2 parents 92f813f + 0714554 commit 8ef5d77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions pynux/nxid.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,9 @@ def get_owner(erc):
def check_ezid(ark, ezid):
''' check to see if the ARK is listed in EZID, returns raw ERC or `None`'''
try:
sys.stdout = open(os.devnull, 'w')
return ezid.view(ark)
except HTTPError:
return None
finally:
sys.stdout = sys.__stdout__


def find_ark(s):
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.5",
version = "1.0.6",
packages = find_packages(),
install_requires = [
'requests',
Expand Down

0 comments on commit 8ef5d77

Please sign in to comment.