Remove check

This commit is contained in:
scoobybejesus 2021-08-05 23:48:32 +00:00
parent 3ed9eee2f7
commit a72da591e9
1 changed files with 12 additions and 12 deletions

View File

@ -155,18 +155,18 @@ def liquidsoap_version():
def liquidsoap_check_symlink(): def liquidsoap_check_symlink():
msg = """ # msg = """
Due to a bug you need to create this symlink: # Due to a bug you need to create this symlink:
#
$ sudo ln -s /usr/share/liquidsoap/ /usr/share/liquidsoap/1.4.1 # $ sudo ln -s /usr/share/liquidsoap/ /usr/share/liquidsoap/1.4.1
#
info: https://github.com/savonet/liquidsoap/issues/1224 # info: https://github.com/savonet/liquidsoap/issues/1224
""" # """
version = liquidsoap_version() # version = liquidsoap_version()
if not os.path.exists(f"/usr/share/liquidsoap/{version}"): # if not os.path.exists(f"/usr/share/liquidsoap/{version}"):
print(msg) # print(msg)
sys.exit() # sys.exit()
pass
async def httpget(url: str, json=True, timeout: int = 5, raise_for_status=True, verify_tls=True): async def httpget(url: str, json=True, timeout: int = 5, raise_for_status=True, verify_tls=True):
headers = {"User-Agent": random_agent()} headers = {"User-Agent": random_agent()}