Update openpype/tools/workfiles/window.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Fabià Serra Arrizabalaga 2023-06-05 14:49:58 +02:00 committed by GitHub
parent 0cf19e8ff6
commit c12e6995de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,10 +149,11 @@ class SidePanelWidget(QtWidgets.QWidget):
"<b>Modified:</b>",
modification_time.strftime(datetime_format),
)
if platform.system() != "Windows":
username = self.get_user_name(filepath)
if username:
lines += (
"<b>User:</b>",
self.get_user_name(filepath),
username,
)
self._details_input.appendHtml("<br>".join(lines))