ewerybody / a2

Autohotkey module managing and developing framework.
GNU General Public License v3.0
63 stars 10 forks source link

Sharing of DB access between python and ahk #129

Closed lipkau closed 7 years ago

lipkau commented 7 years ago

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

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

lipkau commented 7 years ago

fixed