fix: Deluge returns 'Online' sometimes instead of 'Connected'

This commit is contained in:
Tom Niget 2024-01-22 01:21:22 +01:00 committed by GitHub
parent 5a547a3ec2
commit 88ff9e95e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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');
}