Address linter issue

This commit is contained in:
Chris Bessent
2021-04-25 15:37:46 -07:00
parent 1776b5c3a2
commit cd39bb5fe6
+2 -2
View File
@@ -15,7 +15,7 @@ from .basic_features.basic_save_game_info import BasicGameSaveGame
def replace_variables(value: str, game: "BasicGame") -> str:
""" Replace special paths in the given value. """
"""Replace special paths in the given value."""
if value.find("%DOCUMENTS%") != -1:
value = value.replace(
@@ -99,7 +99,7 @@ class BasicGameMapping(Generic[T]):
)
def get(self) -> T:
""" Return the value of this mapping. """
"""Return the value of this mapping."""
value = self._default(self._game) # type: ignore
if isinstance(value, str):