From 79b63ee16b342e93062ee0ebafef948a18bce64c Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Fri, 8 May 2015 23:33:46 +0530 Subject: [PATCH] 'type' object is not subscriptable --- ee/cli/plugins/site_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index d3a956ee..a23675b4 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -799,7 +799,7 @@ def detSitePar(opts): # If user enters mmore than one site type decide one with highrest priority if len(typelist) > 1: - if set(['wpsubdir', 'wpsubdomain']).issubset(set[typelist]): + if set(['wpsubdir', 'wpsubdomain']).issubset(set(typelist)): raise RuntimeError("could not determine site and cache type") elif 'wpsubdir' in typelist: typelist = ['wpsubdir']