diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/har_extractor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/har_extractor.py b/examples/har_extractor.py index 43232ea9..be9b986b 100644 --- a/examples/har_extractor.py +++ b/examples/har_extractor.py @@ -16,7 +16,7 @@ class _HARLog(HAR.log): __page_count__ = 0 __page_ref__ = {} - def __init__(self, page_list): + def __init__(self, page_list=[]): self.__page_list__ = page_list self.__page_count__ = 0 self.__page_ref__ = {} @@ -66,7 +66,7 @@ def start(context, argv): '(- will output to stdout, filenames ending with .zhar ' 'will result in compressed har)' ) - context.HARLog = _HARLog(['https://github.com']) + context.HARLog = _HARLog() context.seen_server = set() |