diff --git a/openadapt/db.py b/openadapt/db.py index 0c71fb17b..52c24af26 100644 --- a/openadapt/db.py +++ b/openadapt/db.py @@ -186,7 +186,9 @@ def export_recording(recording_id: int) -> str: try: original_db = os.environ["DB_FNAME"] except KeyError: - logger.warning("Warning: The 'DB_FNAME' environment variable is not set in .env. Using default value: openadapt.db.") + logger.warning( + "Warning: The 'DB_FNAME' environment variable is not set in .env. Using default value: openadapt.db." + ) original_db = "openadapt.db" sql, values = export_sql(recording_id) timestamp, db_file_path = create_db(recording_id, sql, values) diff --git a/openadapt/share.py b/openadapt/share.py index d307ed5ff..ed2c1701f 100644 --- a/openadapt/share.py +++ b/openadapt/share.py @@ -91,7 +91,6 @@ def send_recording(recording_id: int) -> None: logger.info(f"Deleted zip file of the recording: {zip_file_path}") - def receive_recording(wormhole_code: str) -> None: """Receive a recording zip file from another computer using a wormhole code. diff --git a/poetry.lock b/poetry.lock index acc4fcf5f..f087e3372 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6421,4 +6421,4 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] [metadata] lock-version = "2.0" python-versions = "3.10.x" -content-hash = "ce74f877fc455a24fb3d24d58e6a74ba806929e4a6a66deaa57603033d3ec19f" +content-hash = "95146d73f2db3ab9a00fcac86a08ea00ee8046795adc5d4ab79364c2c1e6b958"