Skip to content

Commit

Permalink
Fix wrong import (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanhoey authored Aug 22, 2023
1 parent c87c4c3 commit 7b17c6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vptstools/bin/transfer_baltrad.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from dotenv import load_dotenv
import paramiko

from vptstools.bin.click_exception import catch_all_exceptions, report_exception_to_sns
from vptstools.bin.click_exception import catch_all_exceptions, report_click_exception_to_sns

# Load environmental variables from file in dev (load_dotenv doesn't override existing environment variables)
load_dotenv()
Expand All @@ -19,7 +19,7 @@
DESTINATION_BUCKET = os.environ.get("DESTINATION_BUCKET", "aloft")

# Update reporting to SNS functionality
report_sns = partial(report_exception_to_sns,
report_sns = partial(report_click_exception_to_sns,
aws_sns_topic=AWS_SNS_TOPIC,
subject=f"Transfer from Baltrad FTP to s3 bucket {DESTINATION_BUCKET} failed.",
profile_name=AWS_PROFILE,
Expand Down

0 comments on commit 7b17c6d

Please sign in to comment.