Skip to content

Commit da4ba50

Browse files
committed
Update the uri for the SimpleChannel example
1 parent 6d804ab commit da4ba50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rabbitpy/simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class SimpleChannel(object):
2020
2121
import rabbitpy
2222
23-
with rabbitpy.SimpleChannel(url) as channel:
23+
with rabbitpy.SimpleChannel('amqp://localhost/%2f) as channel:
2424
queue = rabbitpy.Queue(channel, 'my-queue')
2525
2626
:param str uri: The AMQP URI to connect with. For URI options, see the

0 commit comments

Comments
 (0)