now also finds example.json if called from another location
This commit is contained in:
parent
a46384aa25
commit
d3cabbf573
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ def main(*_args):
|
|||
if len(argv) > 1:
|
||||
filename = argv[1]
|
||||
else:
|
||||
filename = 'example.json'
|
||||
filename = Path(Path(__file__).absolute().parent, 'example.json')
|
||||
|
||||
app = FormApp(filename)
|
||||
|
||||
|
|
Loading…
Reference in a new issue