Skip to content

Commit

Permalink
fixed live.
Browse files Browse the repository at this point in the history
  • Loading branch information
HeiSir committed Aug 9, 2020
1 parent 2debb04 commit e8d65b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ async function startDownloadLive(object) {
configVideos.splice(0,0,video);
fs.writeFileSync(globalConfigVideoPath,JSON.stringify(configVideos));

if(nId == null)
if(!object.id)
{
mainWindow.webContents.send('task-notify-create',video);
}
Expand Down

0 comments on commit e8d65b5

Please sign in to comment.