Remove unnecessary prints
This commit is contained in:
parent
e7ee70e69f
commit
6d9fd25cd1
1 changed files with 2 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import errno
|
||||
import os
|
||||
import sys
|
||||
from enum import Enum, auto
|
||||
from pathlib import Path
|
||||
from typing import Optional, overload
|
||||
|
@ -97,9 +95,8 @@ class FileItem(GObject.Object, Watcher):
|
|||
os.setxattr(
|
||||
self.full_path, f"user.lazy_player.{name}", str(value).encode("utf8")
|
||||
)
|
||||
except OSError as err:
|
||||
if err.errno != errno.ENOTSUP:
|
||||
print(err, file=sys.stderr)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
|
||||
class FileListModel(GObject.Object, Gio.ListModel):
|
||||
|
|
Loading…
Reference in a new issue