diff --git a/ospd/ospd.py b/ospd/ospd.py index 64aaee45..aa514e07 100644 --- a/ospd/ospd.py +++ b/ospd/ospd.py @@ -633,7 +633,8 @@ def handle_stop_scan_command(self, scan_et): logger.info('{0}: Scan stopped.'.format(scan_id)) return simple_response_str('stop_scan', 200, 'OK') - def stop_scan(self, scan_id): + @staticmethod + def stop_scan(scan_id): """ Should be implemented by subclass in case of a clean up before terminating is needed. """