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