# Create it if necessary.
if not os.path.exists(PREFIX):
- os.path.mkdir(PREFIX, mode='0700')
+ os.mkdir(PREFIX, 0700)
# Initialize sqlite DB file.
store = Store(os.path.join(PREFIX, 'ipypbx.db'))
endpoints = []
extensions = []
+
+currentConnection = None