From 914550c8ebf0a092a3289a1ff2d831cde54815d6 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 23 Dec 2024 17:14:51 +0100 Subject: [PATCH] Fix variability of VideoFile hash due to missing sorting of joined tags. --- 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 ece413c..596ad7c 100644 --- a/src/ytplom/misc.py +++ b/src/ytplom/misc.py @@ -128,7 +128,7 @@ class TagSet: @property def as_str_list(self) -> list[str]: """Return self list of strings.""" - return [str(t) for t in self._tags] + return sorted([str(t) for t in self._tags]) @property def joined(self) -> str: -- 2.30.2