Skip to content

Commit 414f66e

Browse files
committed
Removed parentheses from call to read_only, which is a bool.
1 parent a2a1230 commit 414f66e

File tree

1 file changed

+1
-1
lines changed
  • src/prompt_toolkit/filters

1 file changed

+1
-1
lines changed

src/prompt_toolkit/filters/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def emacs_insert_mode() -> bool:
371371
if (
372372
app.editing_mode != EditingMode.EMACS
373373
or app.current_buffer.selection_state
374-
or app.current_buffer.read_only()
374+
or app.current_buffer.read_only
375375
):
376376
return False
377377
return True

0 commit comments

Comments
 (0)