Split auto (UI + Core) - 1st version
This commit is contained in:
+2
-2
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user