Don't mind if this doesn't change but could become:

`len(argv) >= 2 and argv[1] or 'settings.json'`

This is the python way of doing ternary operators :)