Fix comparison
This commit is contained in:
parent
f2bd86b458
commit
bc8ae15c26
@ -129,7 +129,7 @@ else:
|
||||
prev = strip.sub('', backup_output)
|
||||
|
||||
# Only copy if the current playlist has changed
|
||||
if current_output != backup_output:
|
||||
if curr != prev:
|
||||
new_backup_file = os.path.join(backup_dir, 'mpd_state' + "-" + now)
|
||||
# Write backup
|
||||
new_backup = open(new_backup_file, 'w')
|
||||
|
Loading…
Reference in New Issue
Block a user