From 280a354396c58ac0b7f015a9633cfe11a5302d2e Mon Sep 17 00:00:00 2001 From: lbonn Date: Mon, 5 Feb 2024 16:04:55 +0100 Subject: [PATCH] Make flake8 happy --- i3_quickterm/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i3_quickterm/main.py b/i3_quickterm/main.py index 4ee15d5..b7282ce 100755 --- a/i3_quickterm/main.py +++ b/i3_quickterm/main.py @@ -14,7 +14,6 @@ from typing import Any, Literal, Optional, TextIO from contextlib import contextmanager, suppress -from functools import wraps from pathlib import Path import i3ipc @@ -257,7 +256,8 @@ def execvp(self, cmd): def launch_inplace(self): """Quickterm is called by itself - Mark current window, move back and focus again, then run shell in current process + Mark current window, move back and focus again, then run shell in current + process """ self.conn.command(f"mark {self.select_mark}") @@ -397,6 +397,6 @@ def main(): if __name__ == "__main__": try: sys.exit(main()) - except Exception as e: + except Exception: print(traceback.format_exc()) sys.exit(1)