More debug player logging
This commit is contained in:
parent
2a9ef19ead
commit
695080eda1
1 changed files with 6 additions and 0 deletions
|
@ -340,6 +340,12 @@ class Player:
|
||||||
plan_copy: List[PlanItem] = copy.copy(self.state.get()["show_plan"])
|
plan_copy: List[PlanItem] = copy.copy(self.state.get()["show_plan"])
|
||||||
found: Optional[PlanItem ] = None
|
found: Optional[PlanItem ] = None
|
||||||
|
|
||||||
|
before = []
|
||||||
|
for item in plan_copy:
|
||||||
|
before += (item.weight, item.name)
|
||||||
|
|
||||||
|
self.logger.log.debug("Weights before removing weight{}:\n{}".format(weight, before))
|
||||||
|
|
||||||
for i in plan_copy:
|
for i in plan_copy:
|
||||||
if i.weight == weight:
|
if i.weight == weight:
|
||||||
found = i
|
found = i
|
||||||
|
|
Loading…
Reference in a new issue