bugy / script-server

Web UI for your scripts with execution management
Other
1.57k stars 248 forks source link

without this migration is broken #465

Closed brunomgalmeida closed 3 years ago

brunomgalmeida commented 3 years ago

Fix the following error

2021-06-25 14:24:14,378 [migrations.INFO] Applying migration introduce_access_config
Traceback (most recent call last):
  File "launcher.py", line 11, in <module>
    main.main()
  File "src/main.py", line 79, in main
    migrations.migrate.migrate(TEMP_FOLDER, CONFIG_FOLDER, SERVER_CONF_PATH, LOG_FOLDER)
  File "src/migrations/migrate.py", line 387, in migrate
    migration_descriptor.callable(context)
  File "src/migrations/migrate.py", line 211, in __introduce_access_config
    json_object = custom_json.loads(content, object_pairs_hook=OrderedDict)
TypeError: loads() got an unexpected keyword argument 'object_pairs_hook'
bugy commented 3 years ago

thanks :)