From 04ec8384e2b7332c5f7d047ed28b91c9d15c7327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 23 Sep 2016 13:03:38 +0200 Subject: command: Use a distro instance instead of class so we can invoke non-static and non-class methods --- whatmaps/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'whatmaps') diff --git a/whatmaps/command.py b/whatmaps/command.py index 8d0be31..7d17191 100755 --- a/whatmaps/command.py +++ b/whatmaps/command.py @@ -158,7 +158,7 @@ def main(argv): logging.basicConfig(level=level, format='%(levelname)s: %(message)s') - distro = Distro.detect() + distro = Distro.detect()() if not distro: logging.error("Unsupported Distribution") return 1 -- cgit v1.2.1