mirror of https://github.com/morpheus65535/bazarr
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:
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…
Reference in New Issue