Skip to content

Commit

Permalink
Removed unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesstottmoj committed Dec 9, 2024
1 parent 0786ba8 commit fa9b129
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions controlpanel/cli/management/commands/feedback_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class Command(BaseCommand):
help = "Writes a csv file with the feedback data to an S3 Bucket"
csv_headings = ["Satisfaction Rating", "Suggestions", "Date Added"]
attributes = ["satisfaction_rating", "suggestions", "date_added"]

def add_arguments(self, parser):
parser.add_argument(
Expand Down Expand Up @@ -55,9 +54,6 @@ def handle(self, *args, **options):

try:
csv_value = csv_buffer.getvalue()
self.stdout.write(f"csv_value: {csv_value}")
self.stdout.write(f"bucket name: {settings.FEEDBACK_BUCKET_NAME}")
self.stdout.write(f"filename: {filename}")
bucket = AWSBucket()

if not bucket.exists(settings.FEEDBACK_BUCKET_NAME):
Expand Down

0 comments on commit fa9b129

Please sign in to comment.