[mousetrap] Patch applied, Conf dir Bug fixed... Thanks Samuel Thibault
- From: Flavio Percoco <flaper src gnome org>
- To: svn-commits-list gnome org
- Subject: [mousetrap] Patch applied, Conf dir Bug fixed... Thanks Samuel Thibault
- Date: Sun, 3 May 2009 05:02:02 -0400 (EDT)
commit b5ae702308e9cd08b88deeaf827eb9f107bc95ef
Author: Flavio Percoco Premoli <flaper87 gmail com>
Date: Sun May 3 07:39:34 2009 +0200
Patch applied, Conf dir Bug fixed... Thanks Samuel Thibault
---
src/mouseTrap/mouseTrap.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/mouseTrap/mouseTrap.py b/src/mouseTrap/mouseTrap.py
index 96f2188..8535c75 100755
--- a/src/mouseTrap/mouseTrap.py
+++ b/src/mouseTrap/mouseTrap.py
@@ -41,6 +41,9 @@ except ImportError, e:
import environment as env
+if not os.path.exists( env.configPath ):
+ os.mkdir( env.configPath )
+
from mTi18n import _
try:
@@ -235,8 +238,7 @@ def loadSettings( ):
if not settings:
try:
- if not os.path.exists( env.configPath ):
- os.mkdir( env.configPath )
+ if not os.path.exists( env.configFile ):
mTPref.writeFirstConf()
if not os.path.exists( env.scriptsPath ):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]