riscritto logger

This commit is contained in:
marco
2020-09-19 16:32:37 +02:00
parent d37050b85e
commit 0b605cf215
218 changed files with 1425 additions and 1511 deletions

View File

@@ -33,7 +33,7 @@ def menu(item):
def search(item, texto):
support.log(texto)
support.info(texto)
item.search = texto
try:
return peliculas(item)
@@ -41,12 +41,12 @@ def search(item, texto):
except:
import sys
for line in sys.exc_info():
support.logger.error("%s" % line)
support.infoger.error("%s" % line)
return []
def newest(categoria):
support.log(categoria)
support.info(categoria)
item = support.Item()
try:
if categoria == "anime":
@@ -57,7 +57,7 @@ def newest(categoria):
except:
import sys
for line in sys.exc_info():
support.logger.error("{0}".format(line))
support.infoger.error("{0}".format(line))
return []