Commit 79ae6efa authored by ibuler's avatar ibuler

[Bugfix] 修复没有Log path引起的bug

parent 24c4e1df
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment