Skip to content

Commit

Permalink
Fix a typo in filexfer example (fixes: #1083)
Browse files Browse the repository at this point in the history
The example "worked" due to a global variable, but this was not the
desired code.

Thanks to @angererc for spotting this!
  • Loading branch information
jlaine committed May 21, 2024
1 parent d92adb3 commit 46e8c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/datachannel-filexfer/filexfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def consume_signaling(pc, signaling):
break


async def run_answer(pc, signaling, filename):
async def run_answer(pc, signaling, fp):
await signaling.connect()

@pc.on("datachannel")
Expand Down

0 comments on commit 46e8c24

Please sign in to comment.