change some sintaxis

This commit is contained in:
Cayo Puigdefabregas 2021-10-25 13:24:22 +02:00
parent 15fa4546d1
commit 5cce2f4efb
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class TradeView():
# check than the user than want to do the action is one of the users # check than the user than want to do the action is one of the users
# involved in the action # involved in the action
if not g.user in [self.trade.user_from, self.trade.user_to]: if g.user not in [self.trade.user_from, self.trade.user_to]:
txt = "You do not participate in this trading" txt = "You do not participate in this trading"
raise ValidationError(txt) raise ValidationError(txt)