mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Update cura/CrashHandler.py
Add typing to pruneSensitiveData Co-Authored-By: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
parent
62dfadecdf
commit
2cd6149ef0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class CrashHandler:
|
|||
self._createDialog()
|
||||
|
||||
@staticmethod
|
||||
def pruneSensitiveData(obj):
|
||||
def pruneSensitiveData(obj: Any) -> Any:
|
||||
if type(obj) is list:
|
||||
return [CrashHandler.pruneSensitiveData(item) for item in obj]
|
||||
if type(obj) is dict:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue