Author: arekm Date: Fri Feb 6 20:43:19 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- version needs to be 'other'. NPC1 is another unknown error.
---- Files affected:
SOURCES:
pynapi.py (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SOURCES/pynapi.py
diff -u SOURCES/pynapi.py:1.14 SOURCES/pynapi.py:1.15
--- SOURCES/pynapi.py:1.14 Fri Feb 6 21:36:28 2009
+++ SOURCES/pynapi.py Fri Feb 6 21:43:13 2009
@@ -118,7 +118,7 @@
print >> sys.stderr, "%s: %d/%d: Hashing video file failed: %s" %
(prog, i, i_total, e)
continue
- url = "http://napiprojekt.pl/unit_napisy/dl.php?l=" + languages[lang] +
"&f=" + d.hexdigest() + "&t=" + f(d.hexdigest()) +
"&v=pynapi&kolejka=false&nick=&pass=&napios=" + os.name
+ url = "http://napiprojekt.pl/unit_napisy/dl.php?l=" + languages[lang] +
"&f=" + d.hexdigest() + "&t=" + f(d.hexdigest()) +
"&v=other&kolejka=false&nick=&pass=&napios=" + os.name
sub = None
http_code = None
@@ -135,7 +135,7 @@
continue
# XXX: is this standard way for napiproject to signalize error?
- if sub == 'NPc0':
+ if sub in ('NPc0', 'NPc1'):
print >> sys.stderr, "%s: %d/%d: Subtitle NOT FOUND" % (prog, i,
i_total)
continue
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/pynapi.py?r1=1.14&r2=1.15&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit