diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-03-03 12:14:05 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-03-03 12:14:05 (GMT) |
commit | 9d214663ba8823dd93f624595e65a4ab76c3e933 (patch) | |
tree | 11d4890e60c0b9f080c8347684dcad75d639bdeb /plugins/rfid_plugin.py | |
parent | c2e939def27ef50d443ceb4ddbcd9e38bf88ace6 (diff) |
naming arguments to make_palette
Diffstat (limited to 'plugins/rfid_plugin.py')
-rw-r--r-- | plugins/rfid_plugin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/rfid_plugin.py b/plugins/rfid_plugin.py index 03b08bd..3a00407 100644 --- a/plugins/rfid_plugin.py +++ b/plugins/rfid_plugin.py @@ -86,8 +86,9 @@ class Rfid_plugin(Plugin): def setup(self): # set up RFID-specific blocks if self._status: - make_palette('sensor', ["#FF6060", "#A06060"], - _('Palette of sensor blocks')) + make_palette('sensor', + colors=["#FF6060", "#A06060"], + help_string=_('Palette of sensor blocks')) PLUGIN_DICTIONARY['rfid'] = self.prim_read_camera make_prim('rfid', |