Skip to content

Commit 121b81f

Browse files
committed
Fix "fmt % thing" : fmt missing the %s
With this the Livestatus was simply not usable at all within a scheduler :| Seen while investigating on shinken-solutions/shinken#1623
1 parent 7f7e307 commit 121b81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def init(self):
184184
# will be in another process, so we will be able to hack objects
185185
# if need)
186186
def hook_pre_scheduler_mod_start(self, sched):
187-
logger.info("[Livestatus Broker] pre_scheduler_mod_start::" % str(sched.__dict__))
187+
logger.info("[Livestatus Broker] pre_scheduler_mod_start: %s", sched.__dict__)
188188
self.rg.load_from_scheduler(sched)
189189

190190
# In a scheduler we will have a filter of what we really want as a brok

0 commit comments

Comments
 (0)