Merge pull request #9666 from jumpserver/pr@dev@fix_rdp_download

fix: rdp file download
pull/9673/head
Eric_Lee 2 years ago committed by GitHub
commit 0d8e0bd1cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save