tdon't use user_dir in storage - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a16b0f4630282a11b26576a582df220dcbdaf6aa DIR parent 2a6e8927ddc3e60cf18e01da395031efae032de7 HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 2 Sep 2013 20:17:04 +0200 don't use user_dir in storage Diffstat: M lib/wallet.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -30,7 +30,7 @@ import aes import Queue import time -from util import print_msg, print_error, user_dir, format_satoshis +from util import print_msg, print_error, format_satoshis from bitcoin import * from account import * t@@ -84,12 +84,7 @@ class WalletStorage: self.path = path return - # Look for wallet file in the default data directory. - # Make wallet directory if it does not yet exist. - if not os.path.exists(self.user_dir): - os.mkdir(self.user_dir) - - self.path = os.path.join(self.user_dir, "electrum.dat") + self.path = os.path.join(config.path, "electrum.dat") def read(self, path):