mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update openpype/hosts/nuke/api/lib.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
0935c75814
commit
e9c3a84916
1 changed files with 5 additions and 6 deletions
|
|
@ -3371,10 +3371,9 @@ def create_viewer_profile_string(viewer, display=None, path_like=False):
|
|||
Returns:
|
||||
str: viewer config string
|
||||
"""
|
||||
if display:
|
||||
if path_like:
|
||||
return "{}/{}".format(display, viewer)
|
||||
else:
|
||||
return "{} ({})".format(viewer, display)
|
||||
else:
|
||||
if not display:
|
||||
return viewer
|
||||
|
||||
if path_like:
|
||||
return "{}/{}".format(display, viewer)
|
||||
return "{} ({})".format(viewer, display)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue