Skip to content

Commit

Permalink
ENV key names fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-aln committed Aug 13, 2024
1 parent 67377b0 commit f041f51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/pubnub_asyncio/file_handling_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@


config = PNConfiguration()
config.publish_key = os.environ.get('PN_KEY_PUBLISH')
config.publish_key = os.environ.get('PUBLISH_KEY', 'demo')
config.subscribe_request_timeout = 10
config.subscribe_key = os.environ.get('PN_KEY_SUBSCRIBE')
config.subscribe_key = os.environ.get('SUBSCRIBE_KEY', 'demo')
config.enable_subscribe = False
config.uuid = 'demo'
config.uuid = 'example'

channel = 'file-channel'
pubnub = PubNubAsyncio(config)
Expand Down

0 comments on commit f041f51

Please sign in to comment.