fix: rdp file download

pull/9666/head
Eric 2023-02-21 17:39:33 +08:00
parent b5d814e9be
commit 3f9f3f3290
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@ class ActionChoices(BitChoices):
return cls.copy | cls.paste
@classmethod
def contains(cls, total, action):
action_value = getattr(cls, action)
def contains(cls, total, action_value):
return action_value & total == action_value
@classmethod