url取值优化
This commit is contained in:
@@ -15,6 +15,7 @@ from Config.config_logging import loglog
|
|||||||
from Moudle.Moudle_index import *
|
from Moudle.Moudle_index import *
|
||||||
|
|
||||||
def urlcheck(url):
|
def urlcheck(url):
|
||||||
|
url = url.rstrip('/')
|
||||||
if 'http' in url:
|
if 'http' in url:
|
||||||
return url
|
return url
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user