Commit 3f097878 authored by Matias Guijarro's avatar Matias Guijarro Committed by blissadm_ID31@bibhelm
Browse files

fix issue #2218: default session keeps basic scan saving

parent c560e452
......@@ -822,6 +822,15 @@ class DefaultSession(Session):
def __init__(self):
Session.__init__(self, "__DEFAULT__", {"config-objects": []})
def _set_scan_saving(self, cls=None):
# no special scan saving class for default session
if cls is not None:
log_warning(
self,
f"Not setting scan saving policy to {cls.__name__} in default session.",
)
super()._set_scan_saving(None)
def _load_config(self, verbose=True):
return
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment