Commit 254ba3cc authored by fendouai's avatar fendouai

fix conf py

parent 5e882ac2
"""Python package for using the JPush API"""
from .conf import app_key, master_secret
# please put your app_key and master_secret here
app_key = u'6be9204c30b9473e87bad4dc' app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'9349ad7c90292a603c512e92' master_secret = u'9349ad7c90292a603c512e92'
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
#-*- encoding:utf-8 -*- #-*- encoding:utf-8 -*-
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
device = _jpush.create_device() device = _jpush.create_device()
......
app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'9349ad7c90292a603c512e92'
\ No newline at end of file
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
from jpush import common from jpush import common
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
push = _jpush.create_push() push = _jpush.create_push()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
push = _jpush.create_push() push = _jpush.create_push()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
push = _jpush.create_push() push = _jpush.create_push()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
push = _jpush.create_push() push = _jpush.create_push()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
push = _jpush.create_push() push = _jpush.create_push()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
push = _jpush.create_push() push = _jpush.create_push()
......
app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'9349ad7c90292a603c512e92'
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
report=_jpush.create_report(); report=_jpush.create_report();
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
report=_jpush.create_report(); report=_jpush.create_report();
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
report=_jpush.create_report(); report=_jpush.create_report();
......
app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'9349ad7c90292a603c512e92'
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
schedule = _jpush.create_schedule() schedule = _jpush.create_schedule()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
schedule = _jpush.create_schedule() schedule = _jpush.create_schedule()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
schedule = _jpush.create_schedule() schedule = _jpush.create_schedule()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret
from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
schedule = _jpush.create_schedule() schedule = _jpush.create_schedule()
......
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from examples.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
_jpush.set_logging("DEBUG") _jpush.set_logging("DEBUG")
schedule = _jpush.create_schedule() schedule = _jpush.create_schedule()
......
# please put your app_key and master_secret here
app_key = u'6be9204c30b9473e87bad4dc' app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'9349ad7c90292a603c512e92' master_secret = u'9349ad7c90292a603c512e92'
import unittest import unittest
from conf import app_key, master_secret from tests.conf import app_key, master_secret
from jpush import device from jpush import device
from jpush import common from jpush import common
import jpush as jpush import jpush as jpush
......
app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'9349ad7c90292a603c512e92'
import unittest import unittest
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from tests.conf import app_key, master_secret
from jpush import common from jpush import common
......
# -*- coding:utf-8 -*- # -*- coding:utf-8 -*-
import unittest import unittest
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from tests.conf import app_key, master_secret
from jpush import common from jpush import common
......
app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'9349ad7c90292a603c512e92'
import unittest import unittest
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret from tests.conf import app_key, master_secret
from jpush import common from jpush import common
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
......
app_key = u'6be9204c30b9473e87bad4dc'
master_secret = u'9349ad7c90292a603c512e92'
import unittest import unittest
from jpush import schedule from jpush import schedule
import jpush as jpush import jpush as jpush
from conf import app_key, master_secret
from jpush import common from jpush import common
from tests.conf import app_key, master_secret
_jpush = jpush.JPush(app_key, master_secret) _jpush = jpush.JPush(app_key, master_secret)
schedule = _jpush.create_schedule() schedule = _jpush.create_schedule()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment