mirror of https://github.com/jumpserver/jumpserver
[Bugfix] 修复没有Log path引起的bug
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