Skip to content

Commit

Permalink
Merge pull request #165 from kived/osx-filechooser-bug
Browse files Browse the repository at this point in the history
macosx: fix incorrect method name in filechooser
  • Loading branch information
kived committed Jul 10, 2015
2 parents 22a1fee + f7789ff commit 37e59db
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 37e59db

Please sign in to comment.