add explicit conversion to string to fix the concatenation

This commit is contained in:
Dirk Müller 2024-08-07 09:47:18 +02:00
parent b11b3f1adb
commit d563076d9e
No known key found for this signature in database

View File

@ -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():