summaryrefslogtreecommitdiff
path: root/src/home/inverter/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/inverter/util.py')
-rw-r--r--src/home/inverter/util.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/home/inverter/util.py b/src/home/inverter/util.py
deleted file mode 100644
index a577e6a..0000000
--- a/src/home/inverter/util.py
+++ /dev/null
@@ -1,8 +0,0 @@
-import re
-
-
-def beautify_table(s):
- lines = s.split('\n')
- lines = list(map(lambda line: re.sub(r'\s+', ' ', line), lines))
- lines = list(map(lambda line: re.sub(r'(.*?): (.*)', r'<b>\1:</b> \2', line), lines))
- return '\n'.join(lines)