mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-28 18:36:07 +00:00
Polished a bit of code
This commit is contained in:
parent
17cc17f794
commit
4cfd7eae72
4
app.py
4
app.py
|
@ -19,9 +19,7 @@ import json
|
||||||
|
|
||||||
class deemix:
|
class deemix:
|
||||||
def __init__(self, portable):
|
def __init__(self, portable):
|
||||||
self.configFolder = portable
|
self.configFolder = portable or getConfigFolder()
|
||||||
if not portable:
|
|
||||||
self.configFolder = getConfigFolder()
|
|
||||||
self.set = Settings(self.configFolder)
|
self.set = Settings(self.configFolder)
|
||||||
self.sp = SpotifyHelper(self.configFolder)
|
self.sp = SpotifyHelper(self.configFolder)
|
||||||
self.qm = QueueManager()
|
self.qm = QueueManager()
|
||||||
|
|
Loading…
Reference in a new issue