EW6 Importer: Cleanup array cropping.

This commit is contained in:
Gary Talent 2017-03-31 23:26:14 -05:00
parent 5a36232c93
commit e07693c95f
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ class EasyWorshipSongImport(SongImport):
"""
target_file = ''
while len(path_list) > 0:
target_file = os.path.join(path_list[len(path_list) - 1], target_file)
target_file = os.path.join(path_list[-1], target_file)
path_list = path_list[:len(path_list) - 1]
full_path = os.path.join(base_path, target_file)
full_path = full_path[:len(full_path) - 1]