mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 02:25:54 +08:00
Ignore cura.cfg in the backups as it might contain secret data from plugins
This commit is contained in:
parent
c90a958eaf
commit
703e52c0c7
@ -17,7 +17,8 @@ class Backup:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
# These files should be ignored when making a 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):
|
def __init__(self, zip_file: bytes = None, meta_data: dict = None):
|
||||||
self.zip_file = zip_file # type: Optional[bytes]
|
self.zip_file = zip_file # type: Optional[bytes]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user