Add https to share option
If both --secure and --share option are given, the return link of the url image to share will be https, not http.
This commit is contained in:
parent
6603954e45
commit
58b7b98c12
|
@ -1486,9 +1486,11 @@ def shell():
|
|||
print_(results.json())
|
||||
|
||||
if args.share and not machine_format:
|
||||
if args.secure:
|
||||
printer('Share results: %s' % results.share().replace("http","https"))
|
||||
else:
|
||||
printer('Share results: %s' % results.share())
|
||||
|
||||
|
||||
def main():
|
||||
try:
|
||||
shell()
|
||||
|
|
Loading…
Reference in New Issue