home
·
contact
·
privacy
projects
/
ytplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afc7862
)
Move "delete" flag in files.flags into highest bit.
master
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 1 Dec 2024 01:43:50 +0000
(
02:43
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 1 Dec 2024 01:43:50 +0000
(
02:43
+0100)
src/ytplom/misc.py
patch
|
blob
|
history
diff --git
a/src/ytplom/misc.py
b/src/ytplom/misc.py
index c0aa85ffc9ec30cfe32a32428f8f78820ade1e9f..3fd8218a8c60ca112ca9cce13436b683cf3dfe09 100644
(file)
--- 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)
)
}