Remove unnecessary prints

This commit is contained in:
Jan Hamal Dvořák 2025-03-15 22:18:06 +01:00
parent e7ee70e69f
commit 6d9fd25cd1

View file

@ -1,8 +1,6 @@
from __future__ import annotations from __future__ import annotations
import errno
import os import os
import sys
from enum import Enum, auto from enum import Enum, auto
from pathlib import Path from pathlib import Path
from typing import Optional, overload from typing import Optional, overload
@ -97,9 +95,8 @@ class FileItem(GObject.Object, Watcher):
os.setxattr( os.setxattr(
self.full_path, f"user.lazy_player.{name}", str(value).encode("utf8") self.full_path, f"user.lazy_player.{name}", str(value).encode("utf8")
) )
except OSError as err: except OSError:
if err.errno != errno.ENOTSUP: pass
print(err, file=sys.stderr)
class FileListModel(GObject.Object, Gio.ListModel): class FileListModel(GObject.Object, Gio.ListModel):