Merge pull request #581 from dwi/patch-1

Small UPS Lite typo fix
This commit is contained in:
evilsocket
2019-11-12 11:39:59 +01:00
committed by GitHub

View File

@ -55,7 +55,7 @@ class UPSLite(plugins.Plugin):
self.ups = UPS()
def on_ui_setup(self, ui):
ui.add_element('ups', LabeledValue(color=BLACK, label='UPS', value='0%/0V', position=(ui.width() / 2 - 15, 0),
ui.add_element('ups', LabeledValue(color=BLACK, label='UPS', value='0%/0V', position=(ui.width() / 2 + 15, 0),
label_font=fonts.Bold, text_font=fonts.Medium))
def on_ui_update(self, ui):