[BugFix] Revamp the usage of list syntax on routines (#6450)

* using list syntax on routines

* black

* ruff

* simplify

* black
This commit is contained in:
Henrique Joaquim
2024-05-22 12:46:19 +01:00
committed by GitHub
parent 8baf4d74b2
commit f91791dbf9
7 changed files with 30 additions and 21 deletions

View File

@@ -158,7 +158,6 @@ class PlatformController(BaseController):
title = f"{self.PATH}{translator.func.__name__}"
if obbject:
if isinstance(obbject, OBBject):
if session.max_obbjects_exceeded() and obbject.results:
session.obbject_registry.remove()