mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
code readability
This commit is contained in:
parent
117706bca4
commit
e81a161169
1 changed files with 1 additions and 3 deletions
|
|
@ -87,9 +87,7 @@ def current_file():
|
|||
name = project.GetName()
|
||||
fname = name + exported_project_ext
|
||||
current_file = os.path.join(current_dir, fname)
|
||||
if not current_file:
|
||||
return None
|
||||
return os.path.normpath(current_file)
|
||||
return os.path.normpath(current_file) if current_file else None
|
||||
|
||||
|
||||
def work_root(session):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue