Skip to content

Commit

Permalink
Fix issue with CSV file as content
Browse files Browse the repository at this point in the history
  • Loading branch information
homanp committed Oct 2, 2023
1 parent a7ba23f commit 2c785f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/superagent/app/tools/datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _load_csv_data(self, datasource: Datasource):
response = requests.get(datasource.url)
file_content = StringIO(response.text)
else:
file_content = datasource.content
file_content = StringIO(datasource.content)
df = pd.read_csv(file_content)
return df

Expand Down

0 comments on commit 2c785f7

Please sign in to comment.