Skip to content

Commit dd9c3d7

Browse files
committed
media_printer.py: Added text 'except OSError:'; Deleted text 'except FileNotFoundError:'
1 parent cceb93a commit dd9c3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/playback/media_printer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def media_printer(args, data, units: str | None = "media", media_len=None) -> No
112112
try:
113113
stat = os.stat(d["path"])
114114
filesize = stat.st_size
115-
except FileNotFoundError:
115+
except OSError:
116116
continue
117117

118118
if args.timeout_size and processes.sizeout(args.timeout_size, filesize):

0 commit comments

Comments
 (0)