[Nym3-commit] r309 - trunk/nymbaron/Client

laurent at conuropsis.org laurent at conuropsis.org
Mon Sep 26 22:07:50 CEST 2005


Author: laurent
Date: 2005-09-26 22:07:49 +0200 (Mon, 26 Sep 2005)
New Revision: 309

Modified:
   trunk/nymbaron/Client/Config.py
Log:
Don't hardcode path to config file.


Modified: trunk/nymbaron/Client/Config.py
===================================================================
--- trunk/nymbaron/Client/Config.py	2005-09-26 18:30:29 UTC (rev 308)
+++ trunk/nymbaron/Client/Config.py	2005-09-26 20:07:49 UTC (rev 309)
@@ -31,7 +31,7 @@
 	# through mixminion or output them on stdout
 	self.DEBUG = False
 	#The path to the directory containing the user accounts
-	self.path = '/home/laurent/.nym3-account'
+	self.path = os.environ['HOME']  + '/.nym3-account'
 
 	self.pubring_path = self.path + os.sep + "pubring"
 	self.secring_path = self.path + os.sep + "secring"



More information about the Nym3-commit mailing list