diff --git a/views/forms.py b/views/forms.py index 3b7e64ec73a36ccaa01dc00fcd9d5332e757ca5e..77308a73c0dd27907139adcd074db434cc7bc1eb 100644 --- a/views/forms.py +++ b/views/forms.py @@ -61,7 +61,7 @@ def get_calendar_choices(protocoltype=None): def get_printer_choices(): choices = [] - if config.PRINTING_PRINTERS is not None: + if config.PRINTING_ACTIVE and config.PRINTING_PRINTERS is not None: choices = list(zip(config.PRINTING_PRINTERS, config.PRINTING_PRINTERS)) choices.insert(0, ("", "Nicht drucken")) return choices