Skip to content

Commit

Permalink
make printer.py use the injected updates and updated example input
Browse files Browse the repository at this point in the history
  • Loading branch information
rndmcnlly committed Dec 13, 2008
1 parent a95c5cd commit 3351371
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions example_print_badge_input
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
"tags": "Leela, Velour, Karaoke",
"shdh_number": "12",
"key": "zbrannigan@nimbus.doop"
"badge_icons": null,
"attended_shdh_12": 1229171859,
"event_key": "shdh_12"
}
2 changes: 1 addition & 1 deletion printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _failed(failure):
return False
fullCard = copy.copy(card)
fullCard.update(self.updates)
spam = simplejson.dumps(card)
spam = simplejson.dumps(fullCard)
spamProto = SpamProtocol(str(spam)+"\n")
spamProto.d.addCallbacks(_done, _failed)

Expand Down

0 comments on commit 3351371

Please sign in to comment.