mirror of
https://github.com/beetbox/beets.git
synced 2026-02-23 07:44:38 +01:00
windows: error when migrating .beetsconfig
This commit is contained in:
parent
e6ea6dc875
commit
63d939d1d3
2 changed files with 3 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ def migrate_state(replace=False):
|
|||
"""Copy the beets runtime state file from the old path (i.e.,
|
||||
~/.beetsstate) to the new path (i.e., ~/.config/beets/state.pickle).
|
||||
"""
|
||||
srcfn = os.path.expanduser('~/.beetsstate')
|
||||
srcfn = os.path.expanduser(os.path.join('~', '.beetsstate'))
|
||||
if not os.path.exists(srcfn):
|
||||
return
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ Other new stuff:
|
|||
bad: "low" or "none" recommendations or when choosing a candidate
|
||||
other than the first.
|
||||
|
||||
* Fix an error when migrating the ``.beetsstate`` file on Windows.
|
||||
|
||||
1.1b1 (January 29, 2013)
|
||||
------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue