Skip to content

Commit bea736c

Browse files
committed
fix(cli): TypeError: __dir__() must return a list, not dict
Signed-off-by: Chris Snow <[email protected]>
1 parent f2595f3 commit bea736c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ class CLI(object):
394394

395395
def __dir__(self):
396396
"""Return modules names."""
397-
return vars(self)
397+
return list(vars(self))
398398

399399
def __init__(self,):
400400
"""Create a CLI instance."""

0 commit comments

Comments
 (0)