1
0

fix: return type of QFileDialog.getOpenFileName() changed

This commit is contained in:
SomberNight
2017-09-24 04:16:39 +02:00
parent 3181396858
commit f1a4f998d2
6 changed files with 7 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ class ContactList(MyTreeWidget):
def import_contacts(self):
wallet_folder = self.parent.get_wallet_folder()
filename = QFileDialog.getOpenFileName(self.parent, "Select your wallet file", wallet_folder)
filename, _ = QFileDialog.getOpenFileName(self.parent, "Select your wallet file", wallet_folder)
if not filename:
return
self.parent.contacts.import_file(filename)