Kaynağa Gözat

修改港澳台country_code为N/A

locky 1 yıl önce
ebeveyn
işleme
9535b23d2a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      AdminController/LogManagementController.py

+ 1 - 1
AdminController/LogManagementController.py

@@ -446,7 +446,7 @@ class LogManagementView(View):
 
                 # 港澳台返回美洲域名
                 if country_code == 'CN' and region in ['香港', '澳门', '台湾']:
-                    country_code = 'NA'
+                    country_code = 'N/A'
 
                 country_qs = CountryModel.objects.filter(country_code=country_code).\
                     values('region__name', 'region__api')