Skip to content

Commit

Permalink
Examples updated
Browse files Browse the repository at this point in the history
  • Loading branch information
thegoliathgeek committed Nov 5, 2019
1 parent 1106fee commit 7b54495
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -58,7 +58,7 @@ callbacks = {
}

if __name__ == '__main__':
client = SinricPro(appKey, deviceIdArr, callbacks,event_callbacks=eventsCallbacks, enable_trace=False,secretKey=secretKey)
client = SinricPro(appKey, deviceIdArr, callbacks,event_callbacks=eventsCallbacks, enable_trace=False,restore_states=True,secretKey=secretKey)
udp_client = SinricProUdp(callbacks,deviceIdArr,enable_trace=False) # Set it to True to start logging request Offline Request/Response
client.handle_all(udp_client)

Expand Down Expand Up @@ -93,7 +93,7 @@ callbacks = {
}

if __name__ == '__main__':
client = SinricPro(appKey, deviceIdArr, callbacks,event_callbacks=eventsCallbacks, enable_trace=False,secretKey=secretKey)
client = SinricPro(appKey, deviceIdArr, callbacks,event_callbacks=eventsCallbacks, restore_states=False,secretKey=secretKey)
udp_client = SinricProUdp(callbacks,deviceIdArr,enable_trace=False) # Set it to True to start logging request Offline Request/Response
client.handle_all(udp_client)
```
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -11,7 +11,7 @@
if sys.version_info < (3,7):
sys.exit('Sorry, Python < 3.7 is not supported')

VERSION = "2.1.2"
VERSION = "2.2.2"

with open('README.rst', 'r') as f:
long_description = f.read()
Expand Down

0 comments on commit 7b54495

Please sign in to comment.