diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2014-12-30 10:09:07 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2014-12-30 10:09:07 +0100 |
| commit | d23012c26aa25c1b18bb108ac8d821817535c07f (patch) | |
| tree | c8a4c3896158948aeb786a8ab43dbe9c772dde86 /py3status | |
| parent | fb09b3d597a3b5797c8a9a3d3129fec09e69bd92 (diff) | |
fix user loaded module name detection thx to @tablet-mode
Diffstat (limited to 'py3status')
| -rwxr-xr-x | py3status/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
