Skip to content

Commit

Permalink
macosx: fix incorrect method name in filechooser
Browse files Browse the repository at this point in the history
  • Loading branch information
kived committed Jul 10, 2015
1 parent 22a1fee commit f7789ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plyer/platforms/macosx/filechooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def run(self):
url = NSURL.fileURLWithPath_(self.path)
panel.setDirectoryURL_(url)

if panel.runModal_():
if panel.runModal():
if self.mode == "save" or not self.multiple:
return [panel.filename().UTF8String()]
else:
Expand Down

0 comments on commit f7789ff

Please sign in to comment.