diff --git a/geomagio/Controller.py b/geomagio/Controller.py
index fab26a3fb024e574f3e8b37e6176f7d7ec52d8f3..564b54c99350baf8a92a7c31fa97c52c777dfbcb 100644
--- a/geomagio/Controller.py
+++ b/geomagio/Controller.py
@@ -501,7 +501,7 @@ def get_input_factory(args):
     input_type = args.input
     # stream/url arguments
     if args.input_file is not None:
-        if input_type in ["netcdf", "miniseed"] :
+        if input_type in ["netcdf", "miniseed"]:
             input_stream = open(args.input_file, "rb")
         else:
             input_stream = open(args.input_file, "r")