several fixes

This commit is contained in:
2024-12-11 08:58:29 +01:00
parent 383f8dc893
commit b875102d34
6 changed files with 22 additions and 14 deletions
+4 -1
View File
@@ -1,8 +1,9 @@
#!/usr/bin/python3
#!/usr/bin/env python3
from pathlib import Path
from logger import getLogger
from mapping import trigger_mapping
from config import Config
from governor import Governor
def main() -> None:
@@ -16,6 +17,8 @@ def main() -> None:
triggers.append(
trigger_mapping[triggertuple.name](triggertuple.name, config)
)
gov = Governor(config)
gov.cpufreq
if __name__ == "__main__":
main()