From 02075d75cd762298051d3c18fa64028deb7938ce Mon Sep 17 00:00:00 2001 From: unfledged Date: Sat, 5 Sep 2015 07:29:02 +0100 Subject: [PATCH] Fix - Just Select methods not parsed to python booleans --- default.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/default.py b/default.py index 98473679..a5d43640 100644 --- a/default.py +++ b/default.py @@ -176,6 +176,14 @@ def _parse_argv( self ): self.LIST = params.get( "skinList", None ) self.CUSTOM = params.get( "custom", "False" ) self.NONE = params.get( "showNone", "False" ) + if self.CUSTOM == "True" or self.CUSTOM == "true": + self.CUSTOM = True + else: + self.CUSTOM = False + if self.NONE == "True" or self.NONE == "true": + self.NONE = True + else: + self.NONE = False self.NOLABELS = params.get( "nolabels", "false" ).lower() self.OPTIONS = params.get( "options", "" ).split( "|" )