Merge pull request #1636 from YunoHost/ci-format-debian/11.1.17

[CI] Format code with Black
This commit is contained in:
Alexandre Aubin 2023-04-11 13:38:19 +02:00 committed by GitHub
commit f9deb1d835
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -858,7 +858,9 @@ class FileQuestion(Question):
return self.value return self.value
if Moulinette.interface.type != "api": if Moulinette.interface.type != "api":
if not os.path.exists(str(self.value)) or not os.path.isfile(str(self.value)): if not os.path.exists(str(self.value)) or not os.path.isfile(
str(self.value)
):
raise YunohostValidationError( raise YunohostValidationError(
"app_argument_invalid", "app_argument_invalid",
name=self.name, name=self.name,