fix wrap_url

This commit is contained in:
Administrator 2023-10-07 14:07:16 +00:00
parent 1ff8642c27
commit c96f3073bd

View File

@ -3,7 +3,7 @@ import logging
import os import os
def wrap_url(u): def wrap_url(u):
if u.startswith("http"): if u == '' or u.startswith("http"):
return u return u
return f'http://{u}' return f'http://{u}'