[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Handle the DVD having a disknumber of ALL. (443291)



---
 image.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/image.py b/image.py
index 021a0e6..5fece23 100644
--- a/image.py
+++ b/image.py
@@ -111,6 +111,8 @@ def findIsoImages(path, messageWindow):
 def getDiscNums(line):
     # get the disc numbers for this disc
     nums = line.split(",")
+    if nums == ['ALL']: # Treat "ALL" DVD as disc 1
+        return [1]
     discNums = []
     for num in nums:
         discNums.append(int(num))
-- 
1.5.4.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]