From 4e55cf3cd4df8cbafd43b1c26b938ba2c2bce177 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Mon, 15 Jan 2018 14:25:42 -0800 Subject: [PATCH] Add all other bandwidth to WAN --- plexpy/webserve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/webserve.py b/plexpy/webserve.py index f58bbd61..9773544c 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -4457,7 +4457,7 @@ class WebInterface(object): counts['total_bandwidth'] += helpers.cast_to_int(s['bandwidth']) if s['location'] == 'lan': counts['lan_bandwidth'] += helpers.cast_to_int(s['bandwidth']) - elif s['location'] == 'wan': + else: counts['wan_bandwidth'] += helpers.cast_to_int(s['bandwidth']) result.update(counts)