mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
50ad8aa6f2
commit
91d8e83e2c
|
@ -626,7 +626,7 @@ def daemon_http_get(self) -> None:
|
||||||
self.path = self.path.replace('?nodropdown', '')
|
self.path = self.path.replace('?nodropdown', '')
|
||||||
|
|
||||||
# redirect music to #nowplaying list
|
# redirect music to #nowplaying list
|
||||||
if self.path == '/music' or self.path == '/NowPlaying':
|
if self.path in ('/music', '/NowPlaying'):
|
||||||
self.path = '/tags/NowPlaying'
|
self.path = '/tags/NowPlaying'
|
||||||
|
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
|
|
Loading…
Reference in New Issue