Fix: const variable require all letters capital

Brightcells лет %!s(int64=8): %!d(string=назад)
Родитель
Сommit
c329660c26
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      utils/error/errno_utils.py

+ 1 - 1
utils/error/errno_utils.py

@@ -43,7 +43,7 @@ class PhoneStatusCode(BaseStatusCode):
43 43
 class WechatStatusCode(BaseStatusCode):
44 44
     """ 微信相关错误码  4003xx """
45 45
     WECHAT_NOT_FOUND = StatusCodeField(400301, u'Wechat Not Found', description=u'微信不存在')
46
-    Unionid_NOT_FOUND = StatusCodeField(400302, u'Unionid Not Found', description=u'微信 Unionid 不存在')
46
+    UNIONID_NOT_FOUND = StatusCodeField(400302, u'Unionid Not Found', description=u'微信 UNIONID 不存在')
47 47
     OPENID_NOT_FOUND = StatusCodeField(400303, u'OPENID Not Found', description=u'微信 OPENID 不存在')
48 48
 
49 49