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
|
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):
|
||||||
|
|
Loading…
Reference in a new issue