mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Misc syntax
This commit is contained in:
parent
f8c1e7c168
commit
b5f3662627
1 changed files with 1 additions and 1 deletions
|
@ -1506,7 +1506,7 @@ class FileQuestion(Question):
|
||||||
super()._prevalidate()
|
super()._prevalidate()
|
||||||
|
|
||||||
# Validation should have already failed if required
|
# Validation should have already failed if required
|
||||||
if self.value in (None, ""):
|
if self.value in [None, ""]:
|
||||||
return self.value
|
return self.value
|
||||||
|
|
||||||
if Moulinette.interface.type != "api":
|
if Moulinette.interface.type != "api":
|
||||||
|
|
Loading…
Add table
Reference in a new issue