Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2016

AcoustID API Key is not stripped

XMLWordPrintable

      The AcoustID Settings page under Fingerprinting will save whatever you put in the field without stripping leading or trailing whitespace. This is a problem, because it then tries to use the erroneous key—whitespace included—when uploading fingerprints. This does not work and the upload will fail

      Code on GitHub

      def save(self):
          # ...
          config.setting["acoustid_apikey"] = self.ui.acoustid_apikey.text()
          # ...
      

      Picard should strip any leading or trailing whitespace when saving the key. (A cleaner user experience would be to also strip whitespace when the field is unfocused)

            outsidecontext Philipp Wolfer
            JJRcop Jonathan Rubenstein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package
                2.5.3