Skip to content

Commit 2ad649b

Browse files
authored
Merge pull request #5 from Schmell/patch-2
Prevent S00E00
2 parents 26c28e0 + 24d3830 commit 2ad649b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zap2xml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ def printProgrammes(fh):
14271427
ef = "E%0*d" % (max(2, len(str(e))), int(e))
14281428
xs = int(ss) - 1
14291429
xe = int(e) - 1
1430-
if ss > 0 or e > 0:
1430+
if int(ss) > 0 or int(e) > 0:
14311431
fh.write("\t\t<episode-num system=\"onscreen\">" + sf + ef + "</episode-num>\n")
14321432

14331433
dd_prog_id = str(p)

0 commit comments

Comments
 (0)