Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/camera_plugin.py
diff options
context:
space:
mode:
authorWalter 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)
commit9d214663ba8823dd93f624595e65a4ab76c3e933 (patch)
tree11d4890e60c0b9f080c8347684dcad75d639bdeb /plugins/camera_plugin.py
parentc2e939def27ef50d443ceb4ddbcd9e38bf88ace6 (diff)
naming arguments to make_palette
Diffstat (limited to 'plugins/camera_plugin.py')
-rw-r--r--plugins/camera_plugin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/camera_plugin.py b/plugins/camera_plugin.py
index ebc45a0..8f896a8 100644
--- a/plugins/camera_plugin.py
+++ b/plugins/camera_plugin.py
@@ -58,8 +58,9 @@ class Camera_plugin(Plugin):
self._status = True
def setup(self):
- make_palette('sensor', ["#FF6060", "#A06060"],
- _('Palette of sensor blocks'))
+ make_palette('sensor',
+ colors=["#FF6060", "#A06060"],
+ help_string=_('Palette of sensor blocks'))
# set up camera-specific blocks
if self._status: