Skip to content

Commit

Permalink
fix: leftover code
Browse files Browse the repository at this point in the history
  • Loading branch information
cachho committed Aug 30, 2023
1 parent 1b19d0d commit 4c627e5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions embedchain/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,6 @@ def use_pysqlite3():
"Error:",
e,
)
__import__("pysqlite3")
sys.modules["sqlite3"] = sys.modules.pop("pysqlite3")
# Let the user know what happened.
current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S,%f")[:-3]
print(
f"{current_time} [embedchain] [INFO]",
"Swapped std-lib sqlite3 with pysqlite3 for ChromaDb compatibility.",
f"Your original version was {sqlite3.sqlite_version}.",
)


def format_source(source: str, limit: int = 20) -> str:
Expand Down

0 comments on commit 4c627e5

Please sign in to comment.