Fix undefined settings on local mode
This commit is contained in:
parent
986ba16ab7
commit
c546572834
|
@ -15,7 +15,7 @@ class cli(deemix):
|
||||||
super().__init__(configFolder)
|
super().__init__(configFolder)
|
||||||
if local:
|
if local:
|
||||||
self.set.settings['downloadLocation'] = randomString(12)
|
self.set.settings['downloadLocation'] = randomString(12)
|
||||||
print("Using a local download folder: "+settings['downloadLocation'])
|
print("Using a local download folder: "+self.set.settings['downloadLocation'])
|
||||||
|
|
||||||
def downloadLink(self, url, bitrate=None):
|
def downloadLink(self, url, bitrate=None):
|
||||||
for link in url:
|
for link in url:
|
||||||
|
|
Loading…
Reference in New Issue