Skip to content

Commit

Permalink
Initialize cli/dll_runner variables in Cadet class
Browse files Browse the repository at this point in the history
Else, there could be errors when deleting the object.
  • Loading branch information
schmoelder committed Dec 4, 2024
1 parent d12b087 commit 79ea7a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cadet/cadet.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ def __init__(self, install_path: Optional[Path] = None, use_dll: bool = False, *
self.cadet_create_lwe_path: Optional[Path] = None
self.return_information: Optional[dict] = None

self._cadet_cli_runner: Optional[CadetCLIRunner] = None
self._cadet_dll_runner: Optional[CadetDLLRunner] = None

# Regardless of settings in the Meta Class, if we get an install_path, we respect the install_path
if install_path is not None:
self.use_dll = use_dll
Expand Down

0 comments on commit 79ea7a2

Please sign in to comment.