mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 06:48:58 +08:00
Fix ignoring files
This commit is contained in:
parent
1b1d99c4bc
commit
c827703417
@ -65,7 +65,7 @@ class Backup:
|
||||
for file_name in files:
|
||||
# Add all files except the ignored ones.
|
||||
if file_name in self.IGNORED_FILES:
|
||||
return
|
||||
continue
|
||||
absolute_path = os.path.join(root, file_name)
|
||||
relative_path = absolute_path[len(root_path) + len(os.sep):]
|
||||
archive.write(absolute_path, relative_path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user