mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-12 21:39:18 +00:00
fix: rdp file download
This commit is contained in:
@@ -36,8 +36,7 @@ class ActionChoices(BitChoices):
|
|||||||
return cls.copy | cls.paste
|
return cls.copy | cls.paste
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def contains(cls, total, action):
|
def contains(cls, total, action_value):
|
||||||
action_value = getattr(cls, action)
|
|
||||||
return action_value & total == action_value
|
return action_value & total == action_value
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Reference in New Issue
Block a user