Merge pull request 'Fix undefined settings on local mode' (#34) from replydev/deemix-deemixbot-fork:main into main
Reviewed-on: https://codeberg.org/RemixDev/deemix/pulls/34
This commit is contained in:
commit
1de7d1d220
|
@ -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