mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1636 from YunoHost/ci-format-debian/11.1.17
[CI] Format code with Black
This commit is contained in:
commit
f9deb1d835
1 changed files with 3 additions and 1 deletions
|
@ -858,7 +858,9 @@ class FileQuestion(Question):
|
|||
return self.value
|
||||
|
||||
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(
|
||||
"app_argument_invalid",
|
||||
name=self.name,
|
||||
|
|
Loading…
Add table
Reference in a new issue