url取值优化

This commit is contained in:
rabbitmask
2023-01-16 14:55:17 +08:00
parent 866db7ff32
commit d85f2aa2d9

View File

@@ -15,6 +15,7 @@ from Config.config_logging import loglog
from Moudle.Moudle_index import *
def urlcheck(url):
url = url.rstrip('/')
if 'http' in url:
return url
else: