From bad11f1043c644232de7fe050839a2c0aa48aea6 Mon Sep 17 00:00:00 2001 From: kpcyrd Date: Mon, 16 May 2022 19:14:12 +0200 Subject: [PATCH] fix: imports --- mitmproxy2swagger/mitmproxy2swagger.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mitmproxy2swagger/mitmproxy2swagger.py b/mitmproxy2swagger/mitmproxy2swagger.py index 4206dd6..45f3692 100755 --- a/mitmproxy2swagger/mitmproxy2swagger.py +++ b/mitmproxy2swagger/mitmproxy2swagger.py @@ -13,10 +13,10 @@ import os import argparse import ruamel.yaml import re -import mitmproxy2swagger.console_util -from mitmproxy2swagger.har_capture_reader import HarCaptureReader, har_archive_heuristic -from mitmproxy2swagger.mitmproxy_capture_reader import MitmproxyCaptureReader, mitmproxy_dump_file_huristic -import mitmproxy2swagger.console_util +from . import swagger_util +from .har_capture_reader import HarCaptureReader, har_archive_heuristic +from .mitmproxy_capture_reader import MitmproxyCaptureReader, mitmproxy_dump_file_huristic +from . import console_util def path_to_regex(path): # replace the path template with a regex