Split auto (UI + Core) - 1st version

This commit is contained in:
2024-05-24 09:44:19 +02:00
parent b68b43e3e1
commit a30e16606b
5 changed files with 100 additions and 4 deletions
+2 -2
View File
@@ -89,9 +89,9 @@ def norm_name(string, separator='_', format=str.lower, padding=0):
return string
def read_file(path):
'''Read a file with an extension in (json, yaml, yml, txt)'''
'''Read a file with an extension in (json, yaml, yml, txt, log)'''
exts = ('.json', '.yaml', '.yml', '.txt')
exts = ('.json', '.yaml', '.yml', '.txt', '.log')
if not path:
print('Try to read empty file')