[packages/pynapi] - rel 2; napisy24 API is returning pure crap at this moment and nothing seems to be improving, so di

arekm arekm at pld-linux.org
Thu Mar 12 20:58:32 CET 2015


commit f68834c28c96b056e2c5bb041cd811dee036c879
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Mar 12 20:58:26 2015 +0100

    - rel 2; napisy24 API is returning pure crap at this moment and nothing seems to be improving, so disable it.

 pynapi.py   | 2 ++
 pynapi.spec | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/pynapi.spec b/pynapi.spec
index 8a1e5d6..6092d23 100644
--- a/pynapi.spec
+++ b/pynapi.spec
@@ -2,7 +2,7 @@ Summary:	pynapi - Movie Subtitle Downloader
 Summary(pl.UTF-8):	pynapi - narzędzie do ściągania napisów do filmów
 Name:		pynapi
 Version:	0.20
-Release:	1
+Release:	2
 License:	GPL v3+
 Group:		Applications/Multimedia
 Source0:	pynapi.py
diff --git a/pynapi.py b/pynapi.py
index 9488716..ac17e56 100644
--- a/pynapi.py
+++ b/pynapi.py
@@ -160,6 +160,8 @@ def get_cover(digest):
     return (cover, extension)
 
 def get_subtitle_napisy24(filename, digest=False, lang="pl"):
+    raise StandardError
+
     url = "http://napisy24.pl/run/CheckSubAgent.php"
 
     pdata = []
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pynapi.git/commitdiff/f68834c28c96b056e2c5bb041cd811dee036c879



More information about the pld-cvs-commit mailing list