yourupload: fix archivo no existe

This commit is contained in:
Intel1
2017-11-26 09:05:00 -05:00
committed by GitHub
parent 57e5d32567
commit 089098c58f

View File

@@ -9,7 +9,7 @@ def test_video_exists(page_url):
logger.info("(page_url='%s')" % page_url)
data = httptools.downloadpage(page_url).data
if ("File was deleted" or "File not found") in data:
if "File was deleted" in data or "File not found" in data:
return False, "[Yourupload] El archivo no existe o ha sido borrado"
return True, ""