Permalink
Browse files

triple count comes back as an int now

  • Loading branch information...
edsu committed Jul 25, 2011
1 parent f2206f8 commit ca7b2528948888e74a8be0e80f9bf2f51f1777e2
Showing with 1 addition and 1 deletion.
  1. +1 −1 ckan.py
View
@@ -102,7 +102,7 @@ def get_nodes(packages):
else:
rating = float(package['ratings_average'])
if 'triples' in package['extras']:
- triples = int(package['extras']['triples'])
+ triples = package['extras']['triples']
else:
triples = 1000
if 'shortname' in package['extras']:

0 comments on commit ca7b252

Please sign in to comment.