[packages/pynapi] - rel 5; correct condition
arekm
arekm at pld-linux.org
Sat Apr 27 20:54:14 CEST 2013
commit 7d05389f058b9b84c287c6295ad01169b7f105da
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Apr 27 20:54:11 2013 +0200
- rel 5; correct condition
pynapi.py | 2 +-
pynapi.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pynapi.spec b/pynapi.spec
index 441c239..406fa1a 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.18
-Release: 4
+Release: 5
License: GPL v3+
Group: Applications/Multimedia
Source0: pynapi.py
diff --git a/pynapi.py b/pynapi.py
index 86d8ca0..54dddb6 100644
--- a/pynapi.py
+++ b/pynapi.py
@@ -139,7 +139,7 @@ def get_subtitle(digest, lang="PL"):
continue
err_add = ''
- if sub.startswith('NPc'):
+ if not sub.startswith('NPc'):
err_add = " (unknown error)"
if len(sub.split('\n')) < 20:
raise Exception('Subtitle NOT FOUND%s' % err_add)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pynapi.git/commitdiff/7d05389f058b9b84c287c6295ad01169b7f105da
More information about the pld-cvs-commit
mailing list