mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix mypy's complaints
This commit is contained in:
@@ -64,8 +64,8 @@ class Migrator:
|
||||
for p in c.ato.packages:
|
||||
try_set_attr(p, "custom_name")
|
||||
try_set_attr(p, "frequency")
|
||||
if self.is_liberation and isinstance(p.time_over_target, datetime):
|
||||
p.time_over_target = (
|
||||
if self.is_liberation and isinstance(p.time_over_target, datetime): # type: ignore
|
||||
p.time_over_target = ( # type: ignore
|
||||
p.time_over_target - self.game.conditions.start_time
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user