mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix ignoring files
This commit is contained in:
parent
1b1d99c4bc
commit
c827703417
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue