explicit None check

This commit is contained in:
Abyss Watcher
2025-01-18 13:26:43 +01:00
parent cc9486cf03
commit 3b679cbafb
@@ -136,7 +136,7 @@ class Modxview(interfaces.plugins.PluginInterface):
for module in run_results[plugin_name]:
# Use offsets as unique keys, whether a module
# appears in many plugin runs or not
if aggregated_modules.get(module.vol.offset):
if aggregated_modules.get(module.vol.offset, None) is not None:
# Append the plugin to the list of originating plugins
aggregated_modules[module.vol.offset][1].append(plugin_name)
else: