Clean up duplicate prompts when importing track
This commit is contained in:
parent
84d746bd2f
commit
7601c7dc4c
@ -453,9 +453,9 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
return
|
return
|
||||||
|
|
||||||
with Session() as session:
|
with Session() as session:
|
||||||
txt = ""
|
|
||||||
new_tracks = []
|
new_tracks = []
|
||||||
for fname in dlg.selectedFiles():
|
for fname in dlg.selectedFiles():
|
||||||
|
txt = ""
|
||||||
tags = helpers.get_tags(fname)
|
tags = helpers.get_tags(fname)
|
||||||
new_tracks.append((fname, tags))
|
new_tracks.append((fname, tags))
|
||||||
title = tags['title']
|
title = tags['title']
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user