diff --git a/README.md b/README.md index a19a92a..ea7904f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Test Coverage](https://codeclimate.com/github/tobi-wan-kenobi/bumblebee-status/badges/coverage.svg)](https://codeclimate.com/github/tobi-wan-kenobi/bumblebee-status/coverage) [![Issue Count](https://codeclimate.com/github/tobi-wan-kenobi/bumblebee-status/badges/issue_count.svg)](https://codeclimate.com/github/tobi-wan-kenobi/bumblebee-status) -**Many, many thanks to all contributors! As of now, 35 of the modules are from various contributors (!), and only 18 from myself.** +**Many, many thanks to all contributors! As of now, 36 of the modules are from various contributors (!), and only 18 from myself.** ![Solarized Powerline](https://github.com/tobi-wan-kenobi/bumblebee-status/blob/master/screenshots/themes/powerline-solarized.png) diff --git a/bumblebee/modules/prime.py b/bumblebee/modules/prime.py index fbe4c62..542ae20 100644 --- a/bumblebee/modules/prime.py +++ b/bumblebee/modules/prime.py @@ -56,7 +56,7 @@ class Module(bumblebee.engine.Module): try: res = bumblebee.util.execute("prime-select query") except RuntimeError: - return ["n/a"] + return "n/a" for line in res.split("\n"): if not line: continue @@ -64,6 +64,6 @@ class Module(bumblebee.engine.Module): return self.nvidiastring if "intel" in line: return self.intelstring - return ["n/a"] + return "n/a" # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4