Revision a6a2782a7cb8559d1bb10827284a09eb6a62b29f authored by Roman Donchenko on 23 August 2023, 06:50:16 UTC, committed by GitHub on 23 August 2023, 06:50:16 UTC
`atomic_writer` is supposed to overwrite the destination file, but `os.rename` doesn't do that on Windows. We have to use `os.replace` instead.
1 parent 8e55dbd
rqscheduler.py
#!/usr/bin/env python
# This script adds access to the Django env and settings in the default rqscheduler
# implementation. This is required for correct work with CVAT queue settings and
# their access options such as login and password.
# Required to initialize Django settings correctly
from cvat.asgi import application # pylint: disable=unused-import
from rq_scheduler.scripts import rqscheduler
if __name__ == '__main__':
rqscheduler.main()
Computing file changes ...