From 565b0592ee9a84ab535274797e903aed382325eb Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Tue, 26 Nov 2024 09:53:09 +0100 Subject: [PATCH] remove self-explanatory ai comments --- dont_fret/process.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/dont_fret/process.py b/dont_fret/process.py index 2a4297a..2d2ed1a 100644 --- a/dont_fret/process.py +++ b/dont_fret/process.py @@ -79,13 +79,10 @@ def process_photon_data( """search and apply hooks""" bursts = photon_data.burst_search(burst_colors) - # Apply hooks for hook_name, hook_params in hooks.items(): - # Try to import hook from dont_fret/config/hooks.py try: hook = getattr(importlib.import_module("dont_fret.config.hooks"), hook_name) except AttributeError: - # If not found, try to import from hooks.py in cwd try: hook = getattr(importlib.import_module("hooks"), hook_name) except (ImportError, AttributeError):