added typing

This commit is contained in:
David Pierron 2020-10-26 21:06:25 +01:00
parent de95cfc981
commit 2cb37b5bd8
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ class GenericSamGroupGenerator(GroupGenerator):
""" """
@property @property
def groupNamePrefix(self): def groupNamePrefix(self) -> str:
# prefix the SAM site for use with the Skynet IADS plugin # prefix the SAM site for use with the Skynet IADS plugin
if self.faction == self.game.player_name: # this is the player faction if self.faction == self.game.player_name: # this is the player faction
return "BLUE SAM " return "BLUE SAM "

View File

@ -19,7 +19,7 @@ class GroupGenerator():
wp.ETA_locked = True wp.ETA_locked = True
@property @property
def groupNamePrefix(self): def groupNamePrefix(self) -> str:
return "" return ""
def generate(self): def generate(self):