Skip to content

Commit

Permalink
Merge pull request #14 from zdimension/patch-1
Browse files Browse the repository at this point in the history
fix: Deluge returns 'Online' sometimes instead of 'Connected'
  • Loading branch information
dumbasPL authored Jan 22, 2024
2 parents 5a547a3 + 88ff9e9 commit 4107cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DelugeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class DelugeClient {
}

// this should never fail in theory
if (status != 'Connected') {
if (status != 'Connected' && status != 'Online') {
throw new Error('Not connected to deluge');
}

Expand Down

0 comments on commit 4107cfa

Please sign in to comment.