Commit 5ed689ae by Szeberényi Imre

client renamed to circle-notify

parent ffab8a80
# Open urls in default web browser provided by circle agent # Open urls in default web browser provided by circle agent
# Part of CIRCLE project http://circlecloud.org/ # Part of CIRCLE project http://circlecloud.org/
# Should be in autostart and run by the user logged in # Should be in autostart and run by the user logged in
import logging import logging
logger = logging.getLogger() logger = logging.getLogger()
fh = logging.FileHandler("agent-client.log") fh = logging.FileHandler("agent-client.log")
formatter = logging.Formatter( formatter = logging.Formatter(
"%(asctime)s - %(name)s [%(levelname)s] %(message)s") "%(asctime)s - %(name)s [%(levelname)s] %(message)s")
fh.setFormatter(formatter) fh.setFormatter(formatter)
logger.addHandler(fh) logger.addHandler(fh)
from notify import run_client from notify import run_client
if __name__ == '__main__': if __name__ == '__main__':
run_client() run_client()
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 sign in to comment