diff options
author | makefu <github@syntax-fehler.de> | 2018-09-17 00:29:03 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-09-17 00:29:03 +0200 |
commit | 1424c4cdb66848005d84b153cc98d2047bbd30b2 (patch) | |
tree | 19439e61f3953f1a5f7ef3f931411f8163bbd60b /makefu/5pkgs/custom/quodlibet/single-digit-discnumber.patch | |
parent | 04ab857228a55ae6627df2bf5714d7ab0b12ebe5 (diff) |
ma pkgs.quodlibet: add private patches
Diffstat (limited to 'makefu/5pkgs/custom/quodlibet/single-digit-discnumber.patch')
-rw-r--r-- | makefu/5pkgs/custom/quodlibet/single-digit-discnumber.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/makefu/5pkgs/custom/quodlibet/single-digit-discnumber.patch b/makefu/5pkgs/custom/quodlibet/single-digit-discnumber.patch new file mode 100644 index 000000000..05778fde7 --- /dev/null +++ b/makefu/5pkgs/custom/quodlibet/single-digit-discnumber.patch @@ -0,0 +1,13 @@ +diff --git a/quodlibet/pattern/_pattern.py b/quodlibet/pattern/_pattern.py +index fc056d07a..8fb559c6e 100644 +--- a/quodlibet/pattern/_pattern.py ++++ b/quodlibet/pattern/_pattern.py +@@ -387,7 +387,7 @@ def _number(key, value): + elif key == "discnumber": + parts = value.split("/") + try: +- return "%02d" % int(parts[0]) ++ return "%d" % int(parts[0]) + except (TypeError, ValueError): + return value + else: |