Adrian Sampson  committed 69b0bf1

windows: error when migrating .beetsconfig

  • Participants
  • Parent commits 6afac3f

Comments (0)

Files changed (2)

File beets/ui/

     """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):

File docs/changelog.rst

     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)