From c105a8d3b016cc907a908de1a31b445b32b42ca9 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Tue, 13 Oct 2015 13:09:45 -0300 Subject: [bug] fix typo on dirname usage --- src/leap/common/ca_bundle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/leap') diff --git a/src/leap/common/ca_bundle.py b/src/leap/common/ca_bundle.py index c0ce35f..e2a624d 100644 --- a/src/leap/common/ca_bundle.py +++ b/src/leap/common/ca_bundle.py @@ -39,7 +39,7 @@ def where(): # we are running in a |PyInstaller| bundle path = sys._MEIPASS return os.path.join(path, 'cacert.pem') - return os.path.join(os.path, dirname(__file__), 'cacert.pem') + return os.path.join(os.path.dirname(__file__), 'cacert.pem') if __name__ == '__main__': print(where()) -- cgit v1.2.3