This commit is contained in:
Michael Hudson-Doyle 2018-05-23 13:26:58 +12:00
parent 5f5775b9e0
commit 58444f25e1
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class DownloadSnapTask(BackgroundTask):
def start(self): def start(self):
self.controller._install_event_start(_("downloading {}").format(self.snap_name)) self.controller._install_event_start(_("downloading {}").format(self.snap_name))
os.mkdir(self.download_dir) os.mkdir(self.this_snap_download_dir)
self.proc = utils.start_command( self.proc = utils.start_command(
['snap', 'download', '--channel='+self.channel, self.snap_name], ['snap', 'download', '--channel='+self.channel, self.snap_name],
cwd=self.this_snap_download_dir) cwd=self.this_snap_download_dir)