Skip to content

Commit b696940

Browse files
committed
Merge branch 'dev'
2 parents 2439f43 + 3ff2934 commit b696940

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/push_examples/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# please put your app_key and master_secret here
22
app_key = u'6be9204c30b9473e87bad4dc'
3-
master_secret = u'a564b268ba23631a8a34e687'
3+
master_secret = u'a19bef7870c55d7e51f4c4f0'

examples/push_examples/example_all.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# the default logging level is WARNING,if you set the logging level to "DEBUG",the it will show the debug logging
1010
_jpush.set_logging("DEBUG")
1111
push.audience = jpush.all_
12-
push.notification = jpush.notification(alert="hello python jpush api")
12+
push.notification = jpush.notification(alert="!hello python jpush api")
1313
push.platform = jpush.all_
1414
try:
1515
response=push.send()
@@ -20,4 +20,4 @@
2020
except common.JPushFailure:
2121
print ("JPushFailure")
2222
except:
23-
print ("Exception")
23+
print ("Exception")

jpush/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import logging
33
import requests
44

5-
BASE_URL = "https://api.jpush.cn/"
5+
BASE_URL = " https://api.jpush.cn/"
66
PUSH_URL = BASE_URL + 'v3/push'
77
VALIDATE_PUSH_URL = BASE_URL + 'v3/push/validate'
88

0 commit comments

Comments
 (0)