* [Update] 去掉session协议搜索

* [Update] 去掉adhoc wanging
pull/2904/head
老广 2019-07-08 16:04:32 +08:00 committed by GitHub
parent 6b43ad60b3
commit f3b5823cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class AdHoc(models.Model):
time_start = time.time()
try:
date_start = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
history.date_start = date_start
history.date_start = timezone.now()
print(_("{} Start task: {}").format(date_start, self.task.name))
raw, summary = self._run_only()
date_end = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')