mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Merge branch 'master' into importer-typehints-and-refactor
This commit is contained in:
commit
10e52c68c9
2 changed files with 7 additions and 1 deletions
|
|
@ -1133,7 +1133,10 @@ def get_temp_filename(
|
|||
tempdir = get_module_tempdir(module)
|
||||
tempdir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
_, filename = tempfile.mkstemp(dir=tempdir, prefix=prefix, suffix=suffix)
|
||||
descriptor, filename = tempfile.mkstemp(
|
||||
dir=tempdir, prefix=prefix, suffix=suffix
|
||||
)
|
||||
os.close(descriptor)
|
||||
return bytestring_path(filename)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@ New features:
|
|||
|
||||
Bug fixes:
|
||||
|
||||
* :doc:`plugins/fetchart`: Fix fetchart bug where a tempfile could not be deleted due to never being
|
||||
properly closed.
|
||||
:bug:`5521`
|
||||
* :doc:`plugins/lyrics`: LRCLib will fallback to plain lyrics if synced lyrics
|
||||
are not found and `synced` flag is set to `yes`.
|
||||
* Synchronise files included in the source distribution with what we used to
|
||||
|
|
|
|||
Loading…
Reference in a new issue