Commit 005f1be1 authored by ∞'s avatar 💻

Bugfix djcli, and other modules that imported cli2, sorry ^^

parent 4b532b60
Pipeline #1832 passed with stages
in 35 seconds
......@@ -125,7 +125,8 @@ class Importable:
ret = getattr(ret, part, None)
if getattr(ret, 'cli2', None):
candidate = getattr(ret, 'cli2', None)
if isinstance(candidate, Callable):
return ret.cli2
if module != ret:
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