Skip to content

Commit

Permalink
can't use Path
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Feb 5, 2025
1 parent f5da715 commit 26e9758
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wort/blueprints/compute/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import csv
import os
from pathlib import Path

from flask import Blueprint, current_app, jsonify, render_template, url_for
import requests
Expand Down Expand Up @@ -42,7 +40,7 @@ def compute_sra(sra_id, recompute=False):
conn = boto3.client("s3")
s3 = boto3.resource("s3")

key_path = Path("sigs") / f"{sra_id}.sig"
key_path = f"sigs/{sra_id}.sig"
try:
obj = s3.Object("wort-sra", key_path)
obj.load()
Expand Down

0 comments on commit 26e9758

Please sign in to comment.