riscritto logger
This commit is contained in:
@@ -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 []
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user