From 0879dfdd9474c5f5b627c9d64f0e469aa0ddc441 Mon Sep 17 00:00:00 2001 From: Aleksander Kiryk Date: Tue, 15 Mar 2022 10:01:12 +0100 Subject: [PATCH] Remove redundant parentheses --- watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watch.py b/watch.py index c378749..dd3d8b2 100755 --- a/watch.py +++ b/watch.py @@ -193,7 +193,7 @@ def watch(session, fsdev): with open(f"{session}.txt", "a") as f: timestamp = now.strftime("%Y-%m-%d-%H:%M:%S") print(f"# {timestamp} label: {label_line}", file=f) - if (p.stdout not in rlist): + if p.stdout not in rlist: continue date = now.strftime("%Y-%m-%d")