Skip to content
Snippets Groups Projects
Commit 7c42531b authored by Jake Taylor's avatar Jake Taylor
Browse files

expand wallet path

parent 265a3914
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ import json ...@@ -11,6 +11,7 @@ import json
import logging as log import logging as log
import psycopg2 import psycopg2
import sys import sys
import os
from substrateinterface import SubstrateInterface, Keypair from substrateinterface import SubstrateInterface, Keypair
import time import time
...@@ -40,7 +41,7 @@ def main(): ...@@ -40,7 +41,7 @@ def main():
args = get_args() args = get_args()
log.info("Running with configuration: {}".format(args)) log.info("Running with configuration: {}".format(args))
xxdot_url = args['xxdot_url'] xxdot_url = args['xxdot_url']
wallet_path = args['wallet_path'] wallet_path = os.path.expanduser(args['wallet_path'])
db_host = args['host'] db_host = args['host']
db_port = args['port'] db_port = args['port']
db_name = args['db'] db_name = args['db']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment