fix(github): Replace initial token

This commit is contained in:
Michael Carlberg 2016-12-23 05:12:33 +01:00
parent 8cc275ccd1
commit 48438b2556

View File

@ -21,6 +21,7 @@ namespace modules {
if (m_formatter->has(TAG_LABEL)) { if (m_formatter->has(TAG_LABEL)) {
m_label = load_optional_label(m_conf, name(), TAG_LABEL, "Notifications: %notifications%"); m_label = load_optional_label(m_conf, name(), TAG_LABEL, "Notifications: %notifications%");
m_label->replace_token("%notifications%", m_empty_notifications ? "0" : "");
} }
} }