diff --git a/plugins/tgbot/startup/extend/push_ad.py b/plugins/tgbot/startup/extend/push_ad.py index ed4a9194b..3efe8d274 100644 --- a/plugins/tgbot/startup/extend/push_ad.py +++ b/plugins/tgbot/startup/extend/push_ad.py @@ -111,7 +111,7 @@ def send_msg(bot, tag='ad', trigger_time=300): types.InlineKeyboardButton( text="@ME", url='tg://user?id=5568699210'), types.InlineKeyboardButton( - text="150RMB/M[已满]", url='tg://user?id=5568699210') + text="150rmb/月[已满]", url='tg://user?id=5568699210') ] ] markup = types.InlineKeyboardMarkup(keyboard) diff --git a/plugins/tgbot/startup/extend/push_notice_msg.py b/plugins/tgbot/startup/extend/push_notice_msg.py index cb63d0866..dea610c31 100644 --- a/plugins/tgbot/startup/extend/push_notice_msg.py +++ b/plugins/tgbot/startup/extend/push_notice_msg.py @@ -120,7 +120,7 @@ def send_msg(bot, tag='ad', trigger_time=300): types.InlineKeyboardButton( text="@ME", url='tg://user?id=5568699210'), types.InlineKeyboardButton( - text="150RMB/M[已满]", url='tg://user?id=5568699210') + text="150RMB/月[已满]", url='tg://user?id=5568699210') ] ] markup = types.InlineKeyboardMarkup(keyboard) diff --git a/web/core/mw.py b/web/core/mw.py index 35f2d940e..a5b1d95bb 100644 --- a/web/core/mw.py +++ b/web/core/mw.py @@ -121,7 +121,7 @@ def getPanelTaskExecLog(): def getWwwDir(): import thisdb - site_path = thisdb.getOption('site_path') + site_path = thisdb.getOption('site_path', default=getFatherDir()+'/wwwroot') return site_path def getBackupDir():