Merge pull request #512 from fmartingr/fix-typo-pr-510

Fixed typo
This commit is contained in:
enkore 2017-01-11 12:30:43 +01:00 committed by GitHub
commit 1f48d2d53c

View File

@ -13,11 +13,11 @@ class Shell(IntervalModule):
color = "#FFFFFF"
error_color = "#FF0000"
ignore_emtpy_stdout = False
ignore_empty_stdout = False
settings = (
("command", "command to be executed"),
("ignore_emtpy_stdout", "Let the block be empty"),
("ignore_empty_stdout", "Let the block be empty"),
("color", "standard color"),
("error_color", "color to use when non zero exit code is returned"),
"format"
@ -38,7 +38,7 @@ class Shell(IntervalModule):
out = stderr
full_text = self.format.format(output=out).strip()
if not full_text and not self.ignore_emtpy_stdout:
if not full_text and not self.ignore_empty_stdout:
full_text = "Command `%s` returned %d" % (self.command, retvalue)
self.output = {