mirror of
https://github.com/dumbasPL/deluge-windscribe-ephemeral-port.git
synced 2024-11-12 18:04:14 +01:00
fix: Deluge returns 'Online' sometimes instead of 'Connected'
This commit is contained in:
parent
5a547a3ec2
commit
88ff9e95e5
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ export class DelugeClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
// this should never fail in theory
|
// this should never fail in theory
|
||||||
if (status != 'Connected') {
|
if (status != 'Connected' && status != 'Online') {
|
||||||
throw new Error('Not connected to deluge');
|
throw new Error('Not connected to deluge');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue