Merge branch 'ansible' into dev

This commit is contained in:
ibuler 2018-04-03 14:49:58 +08:00
commit aa8bece724

View File

@ -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)