瀏覽代碼

未开赛/未报名

xjc 2 年之前
父節點
當前提交
f27ce98929
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/weixin/controls.py

+ 1 - 1
src/weixin/controls.py

@@ -645,7 +645,7 @@ def add_model(cls,**kwargs):
 
 
         now = datetime.datetime.now()
         now = datetime.datetime.now()
         if not cm.Player.objects.filter(user_id=user_id,match_id=match_id).exists():
         if not cm.Player.objects.filter(user_id=user_id,match_id=match_id).exists():
-            raise ce.TipException(u"28号(周三)开始提交作业)")
+            raise ce.TipException(u"比赛未开赛/未报名")
 
 
         if now.weekday() in [5,6] or not now.strftime("%Y-%m-%d") in get_match_validdates(match_id):
         if now.weekday() in [5,6] or not now.strftime("%Y-%m-%d") in get_match_validdates(match_id):
             raise ce.TipException(u"今日不能提交数据!")
             raise ce.TipException(u"今日不能提交数据!")