From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 1 Dec 2024 01:43:50 +0000 (+0100)
Subject: Move "delete" flag in files.flags into highest bit.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/condition_descriptions?a=commitdiff_plain;h=8e7273c08004363794a147355109ebe5639294ae;p=ytplom

Move "delete" flag in files.flags into highest bit.
---

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))
 }