Преглед на файлове

Update __init__.py

pull/93/head
flo269 GitHub преди 8 години
родител
ревизия
e2dc261b22
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      modules/notification/__init__.py

+ 1
- 1
modules/notification/__init__.py Целия файл

@@ -44,7 +44,7 @@ def init(cbpi):
:return: None
"""
if cbpi.get_config_parameter("donation_notification", "YES") == "YES":
msg = {"id": len(cbpi.cache["messages"]), "type": "info", "headline": "Support CraftBeerPi with your donation", "message": "You will find the PayPay Donation button in the system menu" , "read": False}
msg = {"id": len(cbpi.cache["messages"]), "type": "info", "headline": "Support CraftBeerPi with your donation", "message": "You will find the PayPal Donation button in the system menu." , "read": False}
cbpi.cache["messages"].append(msg)

NotificationView.register(cbpi.app, route_base='/api/notification')

Loading…
Отказ
Запис