Skip to content

Commit

Permalink
Merge pull request #1 from fetzerch/pr1
Browse files Browse the repository at this point in the history
Bugfixes
  • Loading branch information
fetzerch committed Oct 18, 2015
2 parents d793a29 + 608f489 commit 4713a16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sync_music
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def sync_audio():
files = [(f, get_file_action(f),
os.path.getmtime(os.path.join(ARGS.audio_src, f)))
for f in util.list_all_files(ARGS.audio_src)]
files.sort(key=lambda f: f[1], reverse=True)
files = [(index, len(files), f[0], f[1])
for index, f in enumerate(files, 1)]
if len(files) == 0:
Expand Down Expand Up @@ -312,6 +311,6 @@ if __name__ == '__main__':

HASH_DB.load()
sync_audio()
HASH_DB.store()
if ARGS.playlist_src:
sync_playlists()
HASH_DB.store()

0 comments on commit 4713a16

Please sign in to comment.