forked from adamm/git-importer
add explicit conversion to string to fix the concatenation
This commit is contained in:
parent
b11b3f1adb
commit
d563076d9e
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user