diff --git a/kallithea/lib/paster_commands/ishell.py b/kallithea/lib/paster_commands/ishell.py --- a/kallithea/lib/paster_commands/ishell.py +++ b/kallithea/lib/paster_commands/ishell.py @@ -32,8 +32,8 @@ import sys from kallithea.lib.utils import BasePasterCommand # Add location of top level folder to sys.path -from os.path import dirname as dn -rc_path = dn(dn(dn(os.path.realpath(__file__)))) +from os.path import dirname +rc_path = dirname(dirname(dirname(os.path.realpath(__file__)))) sys.path.append(rc_path)