pengzhibo168 5 anni fa
parent
commit
ef025f0ac8
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      Controller/DetectController.py

+ 2 - 2
Controller/DetectController.py

@@ -79,7 +79,7 @@ class NotificationView(View):
 
         # 一分钟外,推送开启状态
         detect_med_type = 0  # 0推送旧机制 1存库不推送,2推送存库
-        # 暂时注
+        # 暂时注
         # if have_pkey:
         #     res_data = {'code': 0, 'msg': 'success11111111111111!'}
         #     return JsonResponse(status=200, data=res_data)
@@ -250,7 +250,7 @@ class NotificationView(View):
             'com.ansjer.customizedc_a': 'PatrolSecure',
         }
         if appBundleId in package_title_config.keys():
-            r1eturn package_title_config[appBundleId] + '(' + nickname + ')'
+            return package_title_config[appBundleId] + '(' + nickname + ')'
         else:
             return nickname