Changeset View
Changeset View
Standalone View
Standalone View
bin/Notifier/Backends/Snore.py
Context not available. | |||||
15 | 15 | | |||
---|---|---|---|---|---|
16 | def notify(self, title, message, alertClass): | 16 | def notify(self, title, message, alertClass): | ||
17 | try: | 17 | try: | ||
18 | snore = CraftCore.cache.findApplication("snoresend") | 18 | snore = CraftDebug.CraftCore.cache.findApplication("snoresend") | ||
19 | if not snore: | 19 | if not snore: | ||
20 | return | 20 | return | ||
21 | command = f"""{snore} -t "{title}" -m "{message}" -i "{self.icon}" -a "Craft" -c "{alertClass}" --silent """ | 21 | command = f"""{snore} -t "{title}" -m "{message}" -i "{self.icon}" -a "Craft" -c "{alertClass}" --silent """ | ||
Context not available. |