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
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn