Skip to content

Commit

Permalink
Grab tags from yaml if they exist and throw them in the db.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Aug 1, 2013
1 parent e93b002 commit 70c0069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fedbadges/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def __init__(self, badge_dict, tahrir_database, issuer_id):
image=self._d['image_url'],
desc=self._d['description'],
criteria=self._d['discussion'],
tags=','.join(self._d.get('tags', [])),
issuer_id=issuer_id,
)
transaction.commit()
Expand Down

0 comments on commit 70c0069

Please sign in to comment.