Merge branch 'dev' of github.com:jumpserver/jumpserver into dev

pull/3405/head
ibuler 2019-11-01 14:10:12 +08:00
commit ebbe49fab2
1 changed files with 1 additions and 0 deletions

View File

@ -242,6 +242,7 @@ class AdHoc(models.Model):
except AttributeError: except AttributeError:
hid = str(uuid.uuid4()) hid = str(uuid.uuid4())
history = AdHocRunHistory(id=hid, adhoc=self, task=self.task) history = AdHocRunHistory(id=hid, adhoc=self, task=self.task)
history.save()
time_start = time.time() time_start = time.time()
date_start = timezone.now() date_start = timezone.now()
is_success = False is_success = False