Commit 599f089b by fwkz

Suave exit during requesting http resource

parent 52e0afee
......@@ -338,6 +338,9 @@ def http_request(method, url, **kwargs):
except requests.RequestException as error:
print_error(error)
return
except KeyboardInterrupt:
print_info()
print_status("Module has been stopped")
def boolify(value):
......
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