traduzione server testvideo

This commit is contained in:
marco
2020-03-30 13:30:14 +02:00
parent 5ade7ee4db
commit d488409742
114 changed files with 255 additions and 211 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
import sys
PY3 = False
if sys.version_info[0] >= 3: PY3 = True; unicode = str; unichr = chr; long = int
@@ -20,7 +21,7 @@ def test_video_exists(page_url):
logger.info("(page_url='%s')" % page_url)
data = httptools.downloadpage(page_url).data
if "File was deleted" in data or "Page Cannot Be Found" in data or "<title>Video not found" in data:
return False, "[vevio] El archivo ha sido eliminado o no existe"
return False, config.get_localized_string(70449) % "vevio"
return True, ""