Commit db842ad8 by diegolima

Melhorar tratamento de tipo de produto

1 parent f30e1156
Showing with 2 additions and 1 deletions
...@@ -2,7 +2,8 @@ import urllib.request ...@@ -2,7 +2,8 @@ import urllib.request
import json import json
import sys import sys
PRODUCT_TYPE = sys.argv[1] PRODUCT_TYPE = sys.argv[1] if len(sys.argv) == 2 else 'none'
if PRODUCT_TYPE == 'compute': if PRODUCT_TYPE == 'compute':
FCATALOG = 'examples/azure.json' FCATALOG = 'examples/azure.json'
CATALOG = 'https://azure.microsoft.com/api/v2/pricing/virtual-machines-base/calculator/?culture=pt-br&discount=mosp' CATALOG = 'https://azure.microsoft.com/api/v2/pricing/virtual-machines-base/calculator/?culture=pt-br&discount=mosp'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!