mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Only add User details if platform isn't windows
This commit is contained in:
parent
aa7dceb79c
commit
9c4e1ad4b1
1 changed files with 5 additions and 2 deletions
|
|
@ -148,9 +148,12 @@ class SidePanelWidget(QtWidgets.QWidget):
|
|||
creation_time.strftime(datetime_format),
|
||||
"<b>Modified:</b>",
|
||||
modification_time.strftime(datetime_format),
|
||||
"<b>User:</b>",
|
||||
self.get_user_name(filepath),
|
||||
)
|
||||
if platform.system() != "Windows":
|
||||
lines += (
|
||||
"<b>User:</b>",
|
||||
self.get_user_name(filepath),
|
||||
)
|
||||
self._details_input.appendHtml("<br>".join(lines))
|
||||
|
||||
def get_workfile_data(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue