Skip to content

Commit

Permalink
Update legion.py
Browse files Browse the repository at this point in the history
* Fix pylint error on line 1384
* #111 (comment)
  • Loading branch information
MrDuartePT authored Oct 6, 2023
1 parent 35c5fa0 commit ef89a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/legion_linux/legion_linux/legion.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ def __init__(self, expect_hwmon=True, use_legion_cli_to_write=False, config_dir=
self.lockfancontroller = LockFanController()
self.rapid_charging = RapidChargingFeature(None)
self.battery_conservation = BatteryConservation(None)
# TODO: fix this by resolving circular dependency by facade or similar
# fix this by resolving circular dependency by facade or similar
self.rapid_charging.batterconservation_feature = self.battery_conservation
self.battery_conservation.rapidcharging_feature = self.rapid_charging
self.maximum_fanspeed = MaximumFanSpeedFeature()
Expand Down

0 comments on commit ef89a4e

Please sign in to comment.