mirror of https://github.com/jumpserver/jumpserver
fix: rdp file download
parent
b5d814e9be
commit
3f9f3f3290
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue