From 3e79b95df46aae4e9541d5017ac35101fdcb4675 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Sun, 19 Apr 2020 13:42:16 +0200 Subject: [PATCH] [modules/battery] quotes --- doc/NOTES.md | 2 +- modules/core/battery.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/NOTES.md b/doc/NOTES.md index da29f2c..33f3ac7 100644 --- a/doc/NOTES.md +++ b/doc/NOTES.md @@ -14,7 +14,7 @@ - minimize modules - tkinter / popups - scrolling decorator (incl. minwidth, alignment) -- theme.exclude?? +- theme.exclude?? (battery) - bumblebee-ctrl - default wheel handlers diff --git a/modules/core/battery.py b/modules/core/battery.py index f5ecbdc..feaab91 100644 --- a/modules/core/battery.py +++ b/modules/core/battery.py @@ -1,6 +1,6 @@ # pylint: disable=C0111,R0903 -'''Displays battery status, remaining percentage and charging information. +"""Displays battery status, remaining percentage and charging information. Parameters: * battery.device : Comma-separated list of battery devices to read information from (defaults to auto for auto-detection) @@ -9,7 +9,7 @@ Parameters: * battery.showdevice : If set to 'true', add the device name to the widget (defaults to False) * battery.decorate : If set to 'false', hides additional icons (charging, etc.) (defaults to True) * battery.showpowerconsumption: If set to 'true', show current power consumption (defaults to False) -''' +""" import os import glob