diff --git a/pyroma/__init__.py b/pyroma/__init__.py
index <HASH>..<HASH> 100644
--- a/pyroma/__init__.py
+++ b/pyroma/__init__.py
@@ -89,7 +89,7 @@ def main():
         sys.exit(1)
 
     modes = (options.auto, options.directory, options.file, options.pypi)
-    if sum([1 if x else 0 for x in modes]) > 1:
+    if sum(1 if x else 0 for x in modes) > 1:
         print("You can only select one of the options -a, -d, -f and -p")
         sys.exit(1)
That list isn't needed any more