mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
[Bugfix] 修复没有Log path引起的bug
This commit is contained in:
@@ -33,4 +33,6 @@ class CeleryTask(models.Model):
|
||||
|
||||
@property
|
||||
def full_log_path(self):
|
||||
if not self.log_path:
|
||||
return None
|
||||
return os.path.join(self.LOG_DIR, self.log_path)
|
||||
|
Reference in New Issue
Block a user