Both AHK and Python can access the a2.db. But both lock the file.
If a2UI is open, ahk terminates because the file is locked.
If ahk is running, the a2UI console shows
INFO:a2db:initialised! (C:\lipkau\Projects\a2\settings\a2.db)
ERROR:a2db:could not set value: "1.0" on key:"ui_scale" in section:"a2"
database is locked
Possible Solution
[x] AHK closes the connection to the DB after finishing the call [fixed with b8cbca88203d15577984c28d4f9ed41ff8d88027]
[x] python closes the connection to the DB after finishing the call [fixed with 243d24d18423e9c038bc6d8883d9b56614ad5abf]
Expected Behavior
Both AHK and Python can access the a2.db
Current Behavior
Both AHK and Python can access the a2.db. But both lock the file. If a2UI is open, ahk terminates because the file is locked. If ahk is running, the a2UI console shows
Possible Solution