Ejemplo n.º 1
0
 def _wallet_path(self, name=""):
     if name is None:
         if not self.wallet:
             raise ValueError("No wallet selected")
         return self.wallet.storage.path
     else:
         wallets_dir = join(util.user_dir(), "wallets")
         util.make_dir(wallets_dir)
         return util.standardize_path(join(wallets_dir, name))
Ejemplo n.º 2
0
 def _wallet_path(self, name=""):
     wallets_dir = join(util.user_dir(), "wallets")
     util.make_dir(wallets_dir)
     return util.standardize_path(join(wallets_dir, name))