From d87b0cee0edba38431c016bbaf091ca0b572b487 Mon Sep 17 00:00:00 2001 From: Marcin Lubimow Date: Fri, 14 May 2021 19:17:02 +0200 Subject: [PATCH] Fix flag name --- pudb/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pudb/remote.py b/pudb/remote.py index 68dc34c..89db8e1 100644 --- a/pudb/remote.py +++ b/pudb/remote.py @@ -199,7 +199,7 @@ def debugger(term_size=None, host=PUDB_RDB_HOST, port=PUDB_RDB_PORT, reverse=Fal """Return the current debugger instance (if any), or creates a new one.""" rdb = _current[0] - if rdb is None or not rdb.active: + if rdb is None or not rdb.is_active: rdb = _current[0] = RemoteDebugger( host=host, port=port, term_size=term_size, reverse=reverse )