mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Moar fiks test
This commit is contained in:
parent
6c1a6dfd21
commit
5744e8eb16
1 changed files with 2 additions and 2 deletions
|
@ -224,11 +224,11 @@ class ConfigPanel:
|
|||
self.new_values = {}
|
||||
|
||||
if self.save_path and not creation and not os.path.exists(self.save_path):
|
||||
raise YunohostError(
|
||||
raise YunohostValidationError(
|
||||
f"{self.entity_type}_unknown", **{self.entity_type: entity}
|
||||
)
|
||||
if self.save_path and creation and os.path.exists(self.save_path):
|
||||
raise YunohostError(
|
||||
raise YunohostValidationError(
|
||||
f"{self.entity_type}_exists", **{self.entity_type: entity}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue