Skip to content

Commit

Permalink
Fix readme with correct upload_fp file format
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarchmer authored Jul 23, 2021
1 parent 1ddec9b commit 55c6195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ report = ArchFXFlexibleDictionaryReport.FromReadings(
api = Api('https://arch.arhfx.io')
ok = api.login(email=args.email, password=password)
if ok:
fp = {'file': ("report.mp", BytesIO(report.encode()))}
fp = ("report.mp", BytesIO(report.encode()))
resp = api.streamer().report.upload_fp(fp=fp, timestamp=sent_time.isoformat())
```

Expand Down

0 comments on commit 55c6195

Please sign in to comment.