mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-01 17:22:11 +00:00
Merge pull request #9666 from jumpserver/pr@dev@fix_rdp_download
fix: rdp file download
This commit is contained in:
commit
0d8e0bd1cc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user