Skip to content

Commit

Permalink
fix: Remove duplicate database object creation.
Browse files Browse the repository at this point in the history
There was a duplicate line when creating database object that did not
set include and exclude schema options.

Fix #79
  • Loading branch information
Rajat Venkatesh authored and vrajat committed Mar 23, 2020
1 parent 8b2cfe0 commit cbc4611
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions piicatcher/explorer/explorer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import json
import logging
from abc import ABC, abstractmethod
from datetime import datetime, timedelta
Expand Down Expand Up @@ -168,7 +167,6 @@ def _load_catalog(self):
logging.debug("Catalog Query: {0}".format(self._get_catalog_query()))
cursor.execute(self._get_catalog_query())
self._database = Database('database', include=self._include_schema, exclude=self._exclude_schema)
self._database = Database('database')

row = cursor.fetchone()

Expand Down

0 comments on commit cbc4611

Please sign in to comment.