mirror of
https://github.com/Steve-Tech/YAFI.git
synced 2026-04-19 16:50:36 +00:00
GitHub workflow and fixes
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
from . import main
|
||||
main()
|
||||
|
||||
@@ -95,6 +95,10 @@ class ThermalsPage(Gtk.Box):
|
||||
self.fan_mode.set_sensitive(False)
|
||||
|
||||
# Temperature sensors
|
||||
while temp_child := self.temperatures.get_last_child():
|
||||
self.temperatures.remove(temp_child)
|
||||
self.temp_items.clear()
|
||||
|
||||
try:
|
||||
ec_temp_sensors = ec_commands.thermal.get_temp_sensors(app.cros_ec)
|
||||
except ec_exceptions.ECError as e:
|
||||
|
||||
@@ -43,5 +43,5 @@ if __name__ == '__main__':
|
||||
resource = Gio.Resource.load(os.path.join(pkgdatadir, 'yafi.gresource'))
|
||||
resource._register()
|
||||
|
||||
from yafi import main
|
||||
sys.exit(main.main())
|
||||
import yafi
|
||||
sys.exit(yafi.main())
|
||||
|
||||
Reference in New Issue
Block a user