diff --git a/hbc b/hbc
index b8d2ad4..b4bd33f 100755
--- a/hbc
+++ b/hbc
@@ -421,10 +421,10 @@ def daemonize(
working_dir="/", stdin="/dev/zero", stdout="/dev/null", stderr="/dev/null"
):
"""
- Does the UNIX double-fork magic, see Stevens' "Advanced Programming in the
- UNIX Environment" for details (ISBN 0201563177)
- http://www.yendor.com/programming/unix/apue/proc/fork2.c
- """
+ Does the UNIX double-fork magic, see Stevens' "Advanced Programming in the
+ UNIX Environment" for details (ISBN 0201563177)
+ http://www.yendor.com/programming/unix/apue/proc/fork2.c
+ """
try:
# first fork
diff --git a/hbd b/hbd
index 4aaac7f..de90537 100755
--- a/hbd
+++ b/hbd
@@ -35,17 +35,17 @@ import websockets
from subprocess import Popen, STDOUT, PIPE
-#from hbdclass import *
+# from hbdclass import *
import hbdclass
-CERT_PATH="/usr/local/etc/letsencrypt/live/w02.wrede.ca/"
+CERT_PATH = "/usr/local/etc/letsencrypt/live/w02.wrede.ca/"
WSS_PEM = CERT_PATH + "fullchain.pem"
WSS_KEY = CERT_PATH + "privkey.pem"
-NSUPDATE_BIN = "/usr/local/bin/nsupdate" # override in .hbrc possible
+NSUPDATE_BIN = "/usr/local/bin/nsupdate" # override in .hbrc possible
-SEND_EMAIL=False
-SEND_PUSHOVER=True
+SEND_EMAIL = False
+SEND_PUSHOVER = True
DEBUG = 0
hbdclass.DEBUG = DEBUG
@@ -59,7 +59,7 @@ SMTPSERVER = "localhost"
msgs = []
-#AEW upcount = 0
+# AEW upcount = 0
PORT = 50003
TPORT = 50004
THOST = ""
@@ -70,15 +70,15 @@ verbose = False
INTERVAL = 10
GRACE = 2
-DROPOVERDUE = 7*24*3600
+DROPOVERDUE = 7 * 24 * 3600
-os.environ['TZ'] = 'EST5EDT'
+os.environ["TZ"] = "EST5EDT"
-tsfm=["%H","%d","%U"]
-lastfm=["","",""]
+tsfm = ["%H", "%d", "%U"]
+lastfm = ["", "", ""]
-#tcss = """
+# tcss = """
tcss = """