mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Ignore cura.cfg in the backups as it might contain secret data from plugins
This commit is contained in:
parent
c90a958eaf
commit
703e52c0c7
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ class Backup:
|
|||
"""
|
||||
|
||||
# These files should be ignored when making a backup.
|
||||
IGNORED_FILES = {"cura.log"}
|
||||
# Cura.cfg might contain secret data, so we don't back it up for now.
|
||||
IGNORED_FILES = {"cura.log", "cura.cfg"}
|
||||
|
||||
def __init__(self, zip_file: bytes = None, meta_data: dict = None):
|
||||
self.zip_file = zip_file # type: Optional[bytes]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue