Removed extra call to get_download_url
This commit is contained in:
parent
332365d53b
commit
bcd3b7b36e
@ -189,8 +189,6 @@ class Controller(object):
|
|||||||
item = self.results[self.window.get_item()]
|
item = self.results[self.window.get_item()]
|
||||||
log.debug("Starting requested download: {0} (using extractor: {1})".format(item.title, self.extractor.name))
|
log.debug("Starting requested download: {0} (using extractor: {1})".format(item.title, self.extractor.name))
|
||||||
f = "{item_name}.{item_extension}".format(item_name=item.format_track(), item_extension=item.extractor.get_file_format())
|
f = "{item_name}.{item_extension}".format(item_name=item.format_track(), item_extension=item.extractor.get_file_format())
|
||||||
if item.download_url == "":
|
|
||||||
item.get_download_url()
|
|
||||||
path = self.window.get_destination_path(f)
|
path = self.window.get_destination_path(f)
|
||||||
if path != None:
|
if path != None:
|
||||||
log.debug("User has requested the following path: {0}".format(path,))
|
log.debug("User has requested the following path: {0}".format(path,))
|
||||||
|
Loading…
Reference in New Issue
Block a user