Skip to content

Commit 6d37dec

Browse files
committed
Fix ImportError: Import up module instead of function
Changed the import in commands/__init__.py from importing the up function to importing the up module. This fixes the AttributeError where cli.py was trying to access up.run but up was a function instead of a module. Fixes the error: AttributeError: 'function' object has no attribute 'run'
1 parent 48c8713 commit 6d37dec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/devman/commands/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from . import index
77
from .init import init
88
from .switch import switch
9-
from .up import up
9+
from . import up
1010

1111
__all__ = [
1212
"bootstrap",

0 commit comments

Comments
 (0)