mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-10 20:00:10 +00:00
fix: 录像存储下载报错
This commit is contained in:
@@ -162,6 +162,10 @@ class ReplayStorage(CommonStorageModelMixin, JMSBaseModel):
|
||||
def type_swift(self):
|
||||
return self.type == const.ReplayStorageType.swift.value
|
||||
|
||||
@property
|
||||
def type_sftp(self):
|
||||
return self.type == const.ReplayStorageType.sftp.value
|
||||
|
||||
@property
|
||||
def type_ceph(self):
|
||||
return self.type == const.ReplayStorageType.ceph.value
|
||||
|
Reference in New Issue
Block a user