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.
pull/943/head^2
josdion 5 years ago
parent 9dbbfe6395
commit 6a34f2d35f

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

Loading…
Cancel
Save