fixed bug in __init.py__ which conflicts if idlist is None

initializing idlist and skiplist as args.id and args.skip in main.py
cleaned up logic in __init.py__ which skips talkintros
This commit is contained in:
thomic 2017-04-15 16:19:45 +02:00
parent 9d486625bd
commit e6c3a6802c
2 changed files with 15 additions and 7 deletions

View file

@ -100,6 +100,13 @@ if renderlib.debug:
# threaded task queue
tasks = Queue()
#initialize args.id and args.skip, if they are not given by the user
if (args.id==None):
args.id = []
if (args.skip==None):
args.skip = []
# call into project which generates the tasks
project.tasks(tasks, projectpath, args.id, args.skip)