                  (make-local-variable 'python-black-command)
                  (make-local-variable 'python-black-d-command)
                  (setf python-black-command nil
-                       python-black-d-command nil)))
+                       python-black-d-command nil)
+                 t))
 
       (when python-black-d-command
         (make-local-variable 'python-black-d-request-headers-function)

                         (and (condition-case err
                                  (zerop (call-process blackd-path nil nil nil "--version"))
                                (error (message "%s" (error-message-string err)) nil))
                              blackd-path))))

                ((and (python-use-poetry-p)
                      (member "black" requirements))

                                                           python-black-d-command "--version")))
                               (error (message "%s" (error-message-string err)) nil))
                             (string-trim (buffer-string))
                           nil)))
                 t)

                ((or (executable-find python-black-command)
                     (and (executable-find python-black-d-command)
