[tuxdroid-svn] r4687 - software_suite_v3/smart-core/smart-server/trunk
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-05-27 09:49:48
|
Author: remi
Date: 2009-05-27 11:49:31 +0200 (Wed, 27 May 2009)
New Revision: 4687
Modified:
software_suite_v3/smart-core/smart-server/trunk/TDSConfiguration.py
Log:
* added a constant for the path of the users configurations
Modified: software_suite_v3/smart-core/smart-server/trunk/TDSConfiguration.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/TDSConfiguration.py 2009-05-27 09:28:19 UTC (rev 4686)
+++ software_suite_v3/smart-core/smart-server/trunk/TDSConfiguration.py 2009-05-27 09:49:31 UTC (rev 4687)
@@ -81,6 +81,12 @@
TDS_RESOURCES_CONF_PATH = os.path.join(TDS_APPLICATION_PATH, "resources_conf")
else:
TDS_RESOURCES_CONF_PATH = os.path.join("/etc/tuxdroid", "resources_conf")
+# Path of the user configurations
+if os.name == 'nt':
+ TDS_USERS_CONF_PATH = os.path.join(os.path.split(TDS_APPLICATION_PATH)[0],
+ "users_conf")
+else:
+ TDS_USERS_CONF_PATH = os.path.join("/etc/tuxdroid", "users_conf")
# ------------------------------------------------------------------------------
# Resources configuration
|