projects
/
ipypbx
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide clone button for now
[ipypbx]
/
src
/
ipypbx
/
state.py
diff --git
a/src/ipypbx/state.py
b/src/ipypbx/state.py
index
4c0915f
..
6ae8319
100644
(file)
--- a/
src/ipypbx/state.py
+++ b/
src/ipypbx/state.py
@@
-25,7
+25,7
@@
PREFIX = os.path.expanduser('~/.ipypbx')
# Create it if necessary.
if not os.path.exists(PREFIX):
# 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'))
# Initialize sqlite DB file.
store = Store(os.path.join(PREFIX, 'ipypbx.db'))
@@
-38,3
+38,5
@@
gateways = []
endpoints = []
extensions = []
endpoints = []
extensions = []
+
+currentConnection = None