remove hard-coded string
This commit is contained in:
parent
9165ddc0ec
commit
19506fb8c2
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ class PypoLiquidsoap():
|
||||||
self.telnet_liquidsoap.queue_clear_all()
|
self.telnet_liquidsoap.queue_clear_all()
|
||||||
|
|
||||||
def get_liquidsoap_version(self, version_string):
|
def get_liquidsoap_version(self, version_string):
|
||||||
m = re.match(r"Liquidsoap (\d+.\d+.\d+)", "Liquidsoap 1.1.1")
|
m = re.match(r"Liquidsoap (\d+.\d+.\d+)", version_string)
|
||||||
if m:
|
if m:
|
||||||
return m.group(1)
|
return m.group(1)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue