mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-28 11:01:13 +00:00
[Bugfix] 修复没有Log path引起的bug
This commit is contained in:
parent
24c4e1df50
commit
79ae6efafb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user