mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Update docker.py
This commit is contained in:
parent
776c1d8889
commit
505e397ecb
@ -89,7 +89,7 @@ def check_app_id(app_id):
|
|||||||
if app_id == None:
|
if app_id == None:
|
||||||
code = const.ERROR_CLIENT_PARAM_BLANK
|
code = const.ERROR_CLIENT_PARAM_BLANK
|
||||||
message = "AppID is null"
|
message = "AppID is null"
|
||||||
elif re.match('^[a-zA-Z0-9]+_[a-z0-9]+$', app_id):
|
elif re.match('^[a-z0-9]+_[a-z0-9]+$', app_id):
|
||||||
code = const.ERROR_CLIENT_PARAM_Format
|
code = const.ERROR_CLIENT_PARAM_Format
|
||||||
message = "APP name can only be composed of numbers and lowercase letters"
|
message = "APP name can only be composed of numbers and lowercase letters"
|
||||||
myLogger.info_logger(code)
|
myLogger.info_logger(code)
|
||||||
|
Loading…
Reference in New Issue
Block a user