From d563076d9ed882c1c0895f897e6b1b8abe1c5988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Wed, 7 Aug 2024 09:47:18 +0200 Subject: [PATCH] add explicit conversion to string to fix the concatenation --- lib/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.py b/lib/git.py index c544524..2fa647e 100644 --- a/lib/git.py +++ b/lib/git.py @@ -181,7 +181,7 @@ class Git: # logging.warning(f"Error removing file {path}: {e}") def add(self, filename): - self.git_run(["add", ":(literal)" + filename]) + self.git_run(["add", ":(literal)" + str(filename)]) def add_default_gitignore(self): if not (self.path / ".gitignore").exists():