refactor: add spacing to some code /chlog.py
feat: resolve bug in total hrs query