From ceb1667c0c8c5c4cd1fd364657ff9863a1e47f10 Mon Sep 17 00:00:00 2001 From: Fred Liang Date: Sat, 30 Apr 2022 23:35:39 -0700 Subject: [PATCH] Update http_status_code.py --- http_status_code.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http_status_code.py b/http_status_code.py index 1cbe831..6dd78eb 100644 --- a/http_status_code.py +++ b/http_status_code.py @@ -5,11 +5,12 @@ Author: Fred Liang ''' +import sys import csv from feedback import Feedback -query = '{query}' +query = sys.argv[1] query = query.lower() baseurl = 'https://httpstatuses.com/'