From d23012c26aa25c1b18bb108ac8d821817535c07f Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Tue, 30 Dec 2014 10:09:07 +0100 Subject: fix user loaded module name detection thx to @tablet-mode --- py3status/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py3status') diff --git a/py3status/__init__.py b/py3status/__init__.py index f74fcef..7a110a9 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -691,7 +691,7 @@ class Module(Thread): self.lock = lock self.methods = {} self.module_class = None - self.module_name = f_name + self.module_name = f_name.rstrip('.py') # self.load_methods(include_path, f_name) -- cgit v1.3