1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Cosmetics

This commit is contained in:
Guillaume Ayoub 2016-08-01 12:50:51 +02:00
parent 711ecf5df2
commit 6bfdcbafec
7 changed files with 8 additions and 7 deletions

View file

@ -45,7 +45,7 @@ def start(name="radicale", filename=None, debug=False):
# Configuration taken from file
configure_from_file(logger, filename, debug)
# Reload config on SIGHUP (UNIX only)
if hasattr(signal, 'SIGHUP'):
if hasattr(signal, "SIGHUP"):
def handler_generator(logger, filename, debug):
def handler(signum, frame):
configure_from_file(logger, filename, debug)