projects
/
gc-dialer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Explicitly mark that we are not using fixed height mode to see if it helps with Fremantle
[gc-dialer]
/
src
/
dialcentral.py
diff --git
a/src/dialcentral.py
b/src/dialcentral.py
index
b5cc152
..
e29f311
100755
(executable)
--- a/
src/dialcentral.py
+++ b/
src/dialcentral.py
@@
-1,9
+1,11
@@
#!/usr/bin/python
#!/usr/bin/python
+import os
import sys
import logging
import sys
import logging
+_moduleLogger = logging.getLogger("dialcentral")
sys.path.insert(0,"/usr/lib/dialcentral/")
sys.path.insert(0,"/usr/lib/dialcentral/")
@@
-11,8
+13,16
@@
import constants
import dc_glade
import dc_glade
+try:
+ os.makedirs(constants._data_path_)
+except OSError, e:
+ if e.errno != 17:
+ raise
+
userLogPath = "%s/dialcentral.log" % constants._data_path_
logging.basicConfig(level=logging.DEBUG, filename=userLogPath)
userLogPath = "%s/dialcentral.log" % constants._data_path_
logging.basicConfig(level=logging.DEBUG, filename=userLogPath)
+_moduleLogger.info("Dialcentral %s-%s" % (constants.__version__, constants.__build__))
+
try:
dc_glade.run_dialpad()
finally:
try:
dc_glade.run_dialpad()
finally: