Skip to content

Commit

Permalink
fixes another nxid unicode error
Browse files Browse the repository at this point in the history
when identifier is null and --location is set
https://www.pivotaltracker.com/story/show/160334473
  • Loading branch information
tingletech committed Sep 21, 2018
1 parent cc77171 commit d006092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pynux/nxid.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def item_erc_dict(item, owner=None, status=None, publisher=None, location=None):
else:
date = '(:unav)'
#set identifier variable again for use in setting _target
identifier = p.get('ucldc_schema:identifier')
identifier = p.get('ucldc_schema:identifier', '')

ezdata = {
'_profile': 'dc',
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.2",
version = "1.0.3",
packages = find_packages(),
install_requires = [
'requests', 'configparser', 'future', 'EZID'
Expand Down

0 comments on commit d006092

Please sign in to comment.