- fixed USD

git-svn-id: http://moon:8086/svn/projects/Stock@352 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2020-01-07 20:47:23 +00:00
parent d2ddb819d4
commit 1af960bdae
+1 -1
View File
@@ -47,7 +47,7 @@ f.close()
if args.symbol is not None:
show_symbols = [args.symbol]
if args.symbol not in symbols:
symbols[args.symbol] = {'name' : 'Full name here', 'currency' : '$'}
symbols[args.symbol] = {'name' : 'Full name here', 'currency' : 'USD'}
s = json.dumps(symbols, sort_keys=True, indent=4)
f = open('stocks.json', 'w')
f.write(s)