FEM: utils, use snake case for variables too

This commit is contained in:
Bernd Hahnebach
2019-09-06 20:34:47 +02:00
parent c66f9a5b5c
commit eafc9b211a

View File

@@ -165,21 +165,21 @@ def get_temp_dir(obj):
def get_beside_dir(obj):
base = get_beside_base(obj)
specificPath = os.path.join(base, obj.Label)
specificPath = getUniquePath(specificPath)
if not os.path.isdir(specificPath):
os.makedirs(specificPath)
return specificPath
specific_path = os.path.join(base, obj.Label)
specific_path = getUniquePath(specific_path)
if not os.path.isdir(specific_path):
os.makedirs(specific_path)
return specific_path
def get_custom_dir(obj):
base = get_custom_base(obj)
specificPath = os.path.join(
specific_path = os.path.join(
base, obj.Document.Name, obj.Label)
specificPath = getUniquePath(specificPath)
if not os.path.isdir(specificPath):
os.makedirs(specificPath)
return specificPath
specific_path = getUniquePath(specific_path)
if not os.path.isdir(specific_path):
os.makedirs(specific_path)
return specific_path
def get_beside_base(obj):