aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/cli
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/cli')
-rw-r--r--pyGHDL/cli/lsp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/cli/lsp.py b/pyGHDL/cli/lsp.py
index acb65b784..fa89bc7e8 100644
--- a/pyGHDL/cli/lsp.py
+++ b/pyGHDL/cli/lsp.py
@@ -57,7 +57,7 @@ def __rotate_log_files(basename: str, num: int):
# one.
oldfile = "{}.{}".format(basename, num)
if os.path.isfile(oldfile):
- os.remove(oldfile)
+ os.remove(oldfile)
# Rotate old files
for i in range(num, 0, -1):
oldfile = "{}.{}".format(basename, i - 1)