diff options
Diffstat (limited to 'py3status/modules/whoami.py')
| -rw-r--r-- | py3status/modules/whoami.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/py3status/modules/whoami.py b/py3status/modules/whoami.py index a5e27ed..f2f8571 100644 --- a/py3status/modules/whoami.py +++ b/py3status/modules/whoami.py @@ -28,3 +28,13 @@ class Py3status: 'full_text': username } return response + +if __name__ == "__main__": + """ + Test this module by calling it directly. + """ + from time import sleep + x = Py3status() + while True: + print(x.whoami([], {})) + sleep(1) |
