diff options
author | Eric Wong <e@80x24.org> | 2015-12-05 05:44:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-05 05:45:56 +0000 |
commit | e4c2ae4ec103dbfcfd5378b7f78d5393c4498909 (patch) | |
tree | 4e9a1748bba352d16a54868c525b9f3d6728ac4e | |
parent | 7b065706d37df9e54c8b3299ce696545c6159fa4 (diff) | |
download | dtas-e4c2ae4ec103dbfcfd5378b7f78d5393c4498909.tar.gz |
This happens when "dtas-ctl state dump" is invoked manually; causing "dtas-tl cat" to break afterwards. Fixes: commit 7b065706d37df9e54c8b3299ce696545c6159fa4 ("tracklist: use lower number unique track IDs")
-rw-r--r-- | lib/dtas/tracklist.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/tracklist.rb b/lib/dtas/tracklist.rb index 696026a..1750f26 100644 --- a/lib/dtas/tracklist.rb +++ b/lib/dtas/tracklist.rb @@ -30,7 +30,7 @@ class DTAS::Tracklist # :nodoc: def to_hsh h = ivars_to_hash(SIVS) h.delete_if { |k,v| TL_DEFAULTS[k] == v } - list = h['list'] and list.map!(&:to_path) + list = h['list'] and h['list'] = list.map(&:to_path) h end |