You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 1 година
пре 2 година
пре 1 година
пре 1 година
пре 2 година
пре 1 година
пре 1 година
1234567891011121314151617181920
  1. # encoding:utf-8
  2. import config
  3. from channel import channel_factory
  4. from common.log import logger
  5. if __name__ == '__main__':
  6. try:
  7. # load config
  8. config.load_config()
  9. # create channel
  10. channel = channel_factory.create_channel("wx")
  11. # startup channel
  12. channel.startup()
  13. except Exception as e:
  14. logger.error("App startup failed!")
  15. logger.exception(e)