Commit 9d1c4e37 authored by Romain Courteaud's avatar Romain Courteaud

Cli: when passing domain/url from command line, drop all the conf file

parent 00e41393
...@@ -24,8 +24,11 @@ def runWebBot(sqlite, dns, url, domain, configuration): ...@@ -24,8 +24,11 @@ def runWebBot(sqlite, dns, url, domain, configuration):
mapping = {} mapping = {}
if url: if url:
mapping["URL"] = url mapping["URL"] = url
mapping["DOMAIN"] = ""
if domain: if domain:
mapping["DOMAIN"] = url mapping["DOMAIN"] = domain
if not url:
mapping["URL"] = ""
if sqlite: if sqlite:
mapping["SQLITE"] = sqlite mapping["SQLITE"] = sqlite
if dns: if dns:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment