From 37a086d58dc5e8952448bf7bdaae4d80cd6f60ae Mon Sep 17 00:00:00 2001 From: rembo10 Date: Thu, 25 Feb 2016 17:54:25 +0000 Subject: [PATCH] Possible fix for #2530 & #2526 --- headphones/webserve.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/headphones/webserve.py b/headphones/webserve.py index 9253e058..741a37f4 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -1456,7 +1456,10 @@ class WebInterface(object): for k, v in kwargs.iteritems(): # TODO : HUGE crutch. It is all because there is no way to deal with options... - _conf = headphones.CONFIG._define(k) + try: + _conf = headphones.CONFIG._define(k) + except KeyError: + continue conftype = _conf[1] #print '===>', conftype