Commit 1cc02c67 authored by 段英荣's avatar 段英荣

modify

parent 53078c7b
......@@ -63,7 +63,7 @@ class Command(BaseCommand):
type_name_list = get_type_info_map().keys()
for type_name in type_name_list:
if len(self.option_list.type) and type_name!=self.option_list.type:
if len(options["type"]) and type_name!=options["type"]:
logging.warning("type_name:%s can not need to execute!" % type_name)
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment