Merge pull request #6 from kpcyrd/imports

Fix console_util import
pull/7/head
Albert 3 years ago committed by GitHub
commit 9bcc575de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,10 +13,10 @@ import os
import argparse import argparse
import ruamel.yaml import ruamel.yaml
import re import re
import mitmproxy2swagger.console_util from . import swagger_util
from mitmproxy2swagger.har_capture_reader import HarCaptureReader, har_archive_heuristic from .har_capture_reader import HarCaptureReader, har_archive_heuristic
from mitmproxy2swagger.mitmproxy_capture_reader import MitmproxyCaptureReader, mitmproxy_dump_file_huristic from .mitmproxy_capture_reader import MitmproxyCaptureReader, mitmproxy_dump_file_huristic
import mitmproxy2swagger.console_util from . import console_util
def path_to_regex(path): def path_to_regex(path):
# replace the path template with a regex # replace the path template with a regex

Loading…
Cancel
Save