Commit 743eddc8 authored by Andrii Salnikov's avatar Andrii Salnikov

extra attribute existence chech for argparse

parent a7e0209b
......@@ -293,7 +293,7 @@ class RTEControl(ComponentControl):
self.__list_rte(self.system_rtes, args.long)
elif args.user:
self.__list_rte(self.user_rtes, args.long)
elif args.community:
elif hasattr(args, 'community') and args.community:
self.__list_rte(self.community_rtes, args.long)
elif args.available:
self.system_rtes.update(self.user_rtes)
......
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