Skip to content

Commit e3e6472

Browse files
committed
chore(command_freeze): Fix odd type / cycling issue caused by import
See also: tmuxp/cli/__init__.py:81: error: Cannot determine type of "command_freeze"
1 parent bed670d commit e3e6472

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tmuxp/cli/freeze.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import kaptan
66

77
from libtmux.server import Server
8+
from tmuxp.exc import TmuxpException
89

910
from .. import config, util
1011
from ..workspacebuilder import freeze
11-
from . import exc
1212
from .utils import _validate_choices, get_abs_path, get_config_dir
1313

1414

@@ -65,8 +65,8 @@ def command_freeze(
6565
session = util.get_session(t)
6666

6767
if not session:
68-
raise exc.TmuxpException("Session not found.")
69-
except exc.TmuxpException as e:
68+
raise TmuxpException("Session not found.")
69+
except TmuxpException as e:
7070
print(e)
7171
return
7272

0 commit comments

Comments
 (0)