diff --git a/src/cutecoin/core/app.py b/src/cutecoin/core/app.py index beda94ddeb42be255ca45857866146f4d478ead8..0f98ca87675a261d5c14d1b0f87910909e4b417c 100644 --- a/src/cutecoin/core/app.py +++ b/src/cutecoin/core/app.py @@ -296,7 +296,7 @@ class Application(QObject): os.makedirs(os.path.join(config.parameters['home'], account.name, '__cache__')) wallet_path = os.path.join(config.parameters['home'], - account.name, '__cache__', wallet.pubkey) + account.name, '__cache__', wallet.pubkey + "_wal") with open(wallet_path, 'w') as outfile: data = wallet.jsonify_caches() data['version'] = __version__ diff --git a/src/cutecoin/core/net/api/bma/__init__.py b/src/cutecoin/core/net/api/bma/__init__.py index 4d4054796a33b6ec2beefcf48eb8d8c9ae758421..29eea7b0e6e00592b83d403039cafd895a325271 100644 --- a/src/cutecoin/core/net/api/bma/__init__.py +++ b/src/cutecoin/core/net/api/bma/__init__.py @@ -114,7 +114,7 @@ class API(object): logging.debug("POST : {0}".format(kwargs)) post_data = QUrlQuery() for k,v in kwargs.items(): - post_data.addQueryItem(k, v) + post_data.addQueryItem(k.replace("+", "%2b"), v.replace("+", "%2b")) url = QUrl(self.reverse_url(path)) url.setQuery(post_data)