From a72da591e94dddc831a0f5649e9439f71880e41e Mon Sep 17 00:00:00 2001 From: scoobybejesus Date: Thu, 5 Aug 2021 23:48:32 +0000 Subject: [PATCH] Remove check --- ircradio/utils.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ircradio/utils.py b/ircradio/utils.py index 5d96a9a..abf221e 100644 --- a/ircradio/utils.py +++ b/ircradio/utils.py @@ -155,18 +155,18 @@ def liquidsoap_version(): def liquidsoap_check_symlink(): - msg = """ - Due to a bug you need to create this symlink: - - $ sudo ln -s /usr/share/liquidsoap/ /usr/share/liquidsoap/1.4.1 - - info: https://github.com/savonet/liquidsoap/issues/1224 - """ - version = liquidsoap_version() - if not os.path.exists(f"/usr/share/liquidsoap/{version}"): - print(msg) - sys.exit() - +# msg = """ +# Due to a bug you need to create this symlink: +# +# $ sudo ln -s /usr/share/liquidsoap/ /usr/share/liquidsoap/1.4.1 +# +# info: https://github.com/savonet/liquidsoap/issues/1224 +# """ +# version = liquidsoap_version() +# if not os.path.exists(f"/usr/share/liquidsoap/{version}"): +# print(msg) +# sys.exit() + pass async def httpget(url: str, json=True, timeout: int = 5, raise_for_status=True, verify_tls=True): headers = {"User-Agent": random_agent()}