[bug] fix typo on dirname usage
authorIvan Alejandro <ivanalejandro0@gmail.com>
Tue, 13 Oct 2015 16:09:45 +0000 (13:09 -0300)
committerIvan Alejandro <ivanalejandro0@gmail.com>
Tue, 13 Oct 2015 16:09:45 +0000 (13:09 -0300)
src/leap/common/ca_bundle.py

index c0ce35f..e2a624d 100644 (file)
@@ -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.pathdirname(__file__), 'cacert.pem')
+    return os.path.join(os.path.dirname(__file__), 'cacert.pem')
 
 if __name__ == '__main__':
     print(where())