Skip to content

Commit

Permalink
Fix compatibility issues with older python versions
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Burghardt <[email protected]>
  • Loading branch information
marcusburghardt committed Dec 13, 2024
1 parent 38f80a0 commit 8d32e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssg/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
_var_files_cache = {}


def get_variable_files_in_folder(content_dir: str, subfolder: str) -> list[str]:
def get_variable_files_in_folder(content_dir: str, subfolder: str) -> list:
"""
Retrieve a list of variable files within a specified folder in the project.
Expand All @@ -36,7 +36,7 @@ def get_variable_files_in_folder(content_dir: str, subfolder: str) -> list[str]:
return glob.glob(pattern, recursive=True)


def get_variable_files(content_dir: str) -> list[str]:
def get_variable_files(content_dir: str) -> list:
"""
Retrieves all variable files from the specified content root directory.
Expand Down

0 comments on commit 8d32e8a

Please sign in to comment.