Change variable name from file_path to current_file

This commit is contained in:
Jaisen Mathai 2016-11-14 12:15:48 -08:00
parent 33cc0e17ca
commit e555222e2f
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ def _update(album, location, time, title, files):
dest_path = FILESYSTEM.process_file(current_file, destination, dest_path = FILESYSTEM.process_file(current_file, destination,
updated_media, move=True, allowDuplicate=True) updated_media, move=True, allowDuplicate=True)
log.info(u'%s -> %s' % (current_file, dest_path)) log.info(u'%s -> %s' % (current_file, dest_path))
print('{"source":"%s", "destination":"%s"}' % (file_path, print('{"source":"%s", "destination":"%s"}' % (current_file,
dest_path)) dest_path))
# If the folder we moved the file out of or its parent are empty # If the folder we moved the file out of or its parent are empty
# we delete it. # we delete it.