blob: 05778fde7ab194cea243d9c019bc22e630b8f407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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:
|