Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Commit

Permalink
Update exportCollectionMetadataToCSV.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ehanson8 committed Dec 18, 2018
1 parent a1f92be commit aa807d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion exportCollectionMetadataToCSV.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@
for metadataElement in metadata:
for key in keyListHeader:
if metadataElement['key'] == key:
value = metadataElement['value'].encode('utf-8')+'|'
try:
value = metadataElement['value'].encode('utf-8')+'|'
except:
value = ''+'|'
try:
itemRow[key] = itemRow[key] + value
except:
Expand Down

0 comments on commit aa807d8

Please sign in to comment.