diff --git a/cpu_governor_auto_adjust/trigger.py b/cpu_governor_auto_adjust/trigger.py index 5f9d27d..60e887a 100644 --- a/cpu_governor_auto_adjust/trigger.py +++ b/cpu_governor_auto_adjust/trigger.py @@ -23,7 +23,7 @@ class Trigger(AppClass): raise TriggerImportError( "the Trigger class can't used directly, but must be inherited in a trigger specific class" ) - _ , _name = self.__module__.split('.') + _name = self.__module__.split('.').pop() return _name @property diff --git a/pyproject.toml b/pyproject.toml index 92a63c1..248abfc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cpu_governor_auto_adjust" -version = "0.1.9" +version = "0.1.10" description = "This application has been developed to automatically change cpu governor based on certain triggers." authors = [ { name = "Martin Reurekas", email = "martin@semrks.nl" }