summaryrefslogtreecommitdiff
path: root/src/leap/common
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2015-10-13 13:09:45 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2015-10-13 13:09:45 -0300
commitc105a8d3b016cc907a908de1a31b445b32b42ca9 (patch)
tree2bfe1eb8a32ac96eef2a567425886f220c971f01 /src/leap/common
parentc1781d87a76f941c588709405cd5b2634dc6b1e8 (diff)
[bug] fix typo on dirname usage
Diffstat (limited to 'src/leap/common')
-rw-r--r--src/leap/common/ca_bundle.py2
1 files changed, 1 insertions, 1 deletions
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())