mirror of
https://github.com/dumbasPL/deluge-windscribe-ephemeral-port.git
synced 2024-09-19 20:51:06 +02:00
Merge pull request #14 from zdimension/patch-1
fix: Deluge returns 'Online' sometimes instead of 'Connected'
This commit is contained in:
commit
4107cfade9
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue