diff options
author | madt1m <blackjuniper@protonmail.com> | 2018-06-30 11:42:16 +0200 |
---|---|---|
committer | madt1m <blackjuniper@protonmail.com> | 2018-06-30 11:42:16 +0200 |
commit | 049b096cdab158e9266078a7fa03fbfef2b2fb88 (patch) | |
tree | 560bca994312ec4d162e44897f24299a31a5a248 | |
parent | 9ee8f47cc67a556d9e51741936c918b0d1e3a519 (diff) | |
download | mitmproxy-049b096cdab158e9266078a7fa03fbfef2b2fb88.tar.gz mitmproxy-049b096cdab158e9266078a7fa03fbfef2b2fb88.tar.bz2 mitmproxy-049b096cdab158e9266078a7fa03fbfef2b2fb88.zip |
more bug fixes in DB class
-rw-r--r-- | mitmproxy/io/db.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mitmproxy/io/db.py b/mitmproxy/io/db.py index 5fded620..01d30aa2 100644 --- a/mitmproxy/io/db.py +++ b/mitmproxy/io/db.py @@ -13,10 +13,6 @@ class DbHandler: """ def __init__(self, db_path="/tmp/tmp.sqlite"): - if os.path.isfile(db_path): - self.db_path = db_path - else: - raise IOError("Invalid path!") self.db_path = db_path self._con = sqlite3.connect(self.db_path) self._c = self._con.cursor() |