From 58544d141d96421789eeb3ed0309616f89f354c1 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Wed, 5 Jun 2024 19:59:50 +0200 Subject: [PATCH] wow: Fix config filename on windows. --- bin/basicswap_run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/basicswap_run.py b/bin/basicswap_run.py index a868e0e..f5e5dc1 100755 --- a/bin/basicswap_run.py +++ b/bin/basicswap_run.py @@ -101,7 +101,8 @@ def startXmrDaemon(node_dir, bin_dir, daemon_bin, opts=[]): daemon_path = os.path.expanduser(os.path.join(bin_dir, daemon_bin)) datadir_path = os.path.expanduser(node_dir) - args = [daemon_path, '--non-interactive', '--config-file=' + os.path.join(datadir_path, daemon_bin + '.conf')] + opts + config_filename = 'wownerod.conf' if daemon_bin.startswith('wow') else 'monerod.conf' + args = [daemon_path, '--non-interactive', '--config-file=' + os.path.join(datadir_path, config_filename)] + opts logging.info('Starting node {} --data-dir={}'.format(daemon_path, node_dir)) # return subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)