Merge pull request #1158 from jumpserver/dev

bugfix for celery log path
This commit is contained in:
老广
2018-04-03 14:50:49 +08:00
committed by GitHub

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)