fix: resolve circular dependency for unit tests

This commit is contained in:
Manuel Schmid
2024-05-20 17:27:16 +02:00
parent f030490144
commit faa985c71c
3 changed files with 7 additions and 7 deletions
+6
View File
@@ -1,5 +1,11 @@
import os
def makedirs_with_log(path):
try:
os.makedirs(path, exist_ok=True)
except OSError as error:
print(f'Directory {path} could not be created, reason: {error}')
def get_files_from_folder(folder_path, extensions=None, name_filter=None):
if not os.path.isdir(folder_path):