release git config writer

From documentation: In Python 3, it's required to explicitly release locks and flush changes, as __del__ is not called deterministically anymore.
This commit is contained in:
josdion 2020-04-19 10:18:58 +03:00
parent 9dbbfe6395
commit 6a34f2d35f
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ def gitconfig():
logging.debug('BAZARR Settings git email')
config_write.set_value("user", "email", "bazarr@fake.email")
config_write.release()
def check_and_apply_update():
check_releases()