From f7789ffc2aaeff0136a65886bd9c0ea867a61ab9 Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Thu, 9 Jul 2015 19:38:01 -0500 Subject: [PATCH] macosx: fix incorrect method name in filechooser --- plyer/platforms/macosx/filechooser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plyer/platforms/macosx/filechooser.py b/plyer/platforms/macosx/filechooser.py index 5774cc4a6..b4c23051a 100644 --- a/plyer/platforms/macosx/filechooser.py +++ b/plyer/platforms/macosx/filechooser.py @@ -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: