Add files via upload

This commit is contained in:
Alex
2018-05-27 19:55:48 +02:00
committed by GitHub
parent 5e49b8b6e1
commit 1afe4b750d
3 changed files with 124 additions and 109 deletions
+1 -6
View File
@@ -352,7 +352,6 @@ def verify_directories_created():
config_paths = [["folder_movies", "CINE"],
["folder_tvshows", "SERIES"]]
flag_call = True
for path, default in config_paths:
saved_path = get_setting(path)
@@ -365,11 +364,7 @@ def verify_directories_created():
logger.debug("Creating %s: %s" % (path, content_path))
# si se crea el directorio
if filetools.mkdir(content_path):
if flag_call:
# le pasamos el valor para que sepamos que se ha pasado por creación de directorio
xbmc_videolibrary.ask_set_content(1)
flag_call = False
filetools.mkdir(content_path)
try:
from core import scrapertools