summaryrefslogtreecommitdiff
path: root/cesar/maximus
diff options
context:
space:
mode:
authorThierry Carré2013-04-26 18:13:35 +0200
committerThierry Carré2013-04-26 18:17:25 +0200
commit913be0bada30f04084e99f4652054521bd399d2e (patch)
treec5201584a0e7f1a7dc40effeaf8835b2e644698a /cesar/maximus
parent723a84908f0f0571eef90361a98221d3055d00a6 (diff)
cesar/maximus/python/maximus: fix send_force_role, refs #3789
Diffstat (limited to 'cesar/maximus')
-rw-r--r--cesar/maximus/python/maximus/station/sta.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cesar/maximus/python/maximus/station/sta.py b/cesar/maximus/python/maximus/station/sta.py
index c69f0ebcdb..660459390d 100644
--- a/cesar/maximus/python/maximus/station/sta.py
+++ b/cesar/maximus/python/maximus/station/sta.py
@@ -443,8 +443,9 @@ class STA:
else:
raise TypeError("FR")
- # Send a message to the station to configure the SL
- self.__send_force_role ()
+ # Send a message to the station to configure the FR
+ if force_role > 0:
+ self.__send_force_role ()
def set_tonemask(self, carriers):
"""Set the tonemask.