Fixed project structure

This commit is contained in:
klemek
2020-04-11 13:23:24 +02:00
parent 3fae24ba1e
commit ceee3e9a21
9 changed files with 19 additions and 10 deletions
+5
View File
@@ -1,4 +1,9 @@
import re
import os.path as path
def relative_path(file, *args):
return path.realpath(path.join(path.dirname(path.realpath(file)), *args))
def read_key_safe(d, k, default=None):