mirror of
https://github.com/beetbox/beets.git
synced 2026-02-07 07:54:43 +01:00
play: remove dead code
This piece of code won't ever execute because interactive open terminates python execution
This commit is contained in:
parent
247e35161e
commit
f685a59e71
1 changed files with 0 additions and 5 deletions
|
|
@ -131,11 +131,6 @@ class PlayPlugin(BeetsPlugin):
|
|||
except OSError as exc:
|
||||
raise ui.UserError("Could not play the music playlist: "
|
||||
"{0}".format(exc))
|
||||
finally:
|
||||
if not raw:
|
||||
self._log.debug('Removing temporary playlist: {}',
|
||||
open_args[0])
|
||||
util.remove(open_args[0])
|
||||
|
||||
def _create_tmp_playlist(self, paths_list):
|
||||
"""Create a temporary .m3u file. Return the filename.
|
||||
|
|
|
|||
Loading…
Reference in a new issue