diff --git a/src/pyFAI/app/detector2nexus.py b/src/pyFAI/app/detector2nexus.py index df99794e0..243f9d679 100755 --- a/src/pyFAI/app/detector2nexus.py +++ b/src/pyFAI/app/detector2nexus.py @@ -106,7 +106,7 @@ def main(): else: logger.setLevel(logging.INFO) - detector = pyFAI.detectors.detector_factory(options.detector) + detector = pyFAI.detector_factory(options.detector) if options.output: output = options.output else: