From 8e7273c08004363794a147355109ebe5639294ae Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Sun, 1 Dec 2024 02:43:50 +0100 Subject: [PATCH] Move "delete" flag in files.flags into highest bit. --- src/ytplom/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ytplom/misc.py b/src/ytplom/misc.py index c0aa85f..3fd8218 100644 --- a/src/ytplom/misc.py +++ b/src/ytplom/misc.py @@ -77,7 +77,7 @@ TIMESTAMP_FMT = '%Y-%m-%d %H:%M:%S.%f' LEGAL_EXTENSIONS = {'webm', 'mp4', 'mkv'} NAME_INSTALLER = Path('install.sh') FILE_FLAGS: dict[FlagName, FlagsInt] = { - FlagName('delete'): FlagsInt(1 << 62) + FlagName('delete'): FlagsInt(-(1 << 63)) } -- 2.30.2