This commit is contained in:
emmatveev 2023-11-11 13:17:35 +03:00
parent 3e4dfffc84
commit adb30d11e3

View File

@ -88,10 +88,7 @@ class Platform:
return False
user = User(self, telegram_id)
try:
return bool(eval(exp_data['condition']))
except:
return False
return bool(eval(exp_data['condition']))
platform = Platform()