mirror of https://github.com/Hoffelhas/autodoist
fixed sorting issues
parent
e7bca36cb2
commit
6bc1545311
|
@ -131,7 +131,8 @@ def main():
|
||||||
logging.debug('Project \'%s\' being processed as %s', project['name'], project_type)
|
logging.debug('Project \'%s\' being processed as %s', project['name'], project_type)
|
||||||
|
|
||||||
# Get all items for the project
|
# Get all items for the project
|
||||||
items = api.items.all(lambda x: x['project_id'] == project['id'])
|
items = sorted(api.items.all(lambda x: x['project_id'] == project['id']),
|
||||||
|
key=lambda x: x['child_order'])
|
||||||
|
|
||||||
first_found = False
|
first_found = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue