mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
small tweak
This commit is contained in:
parent
fdeccdc79f
commit
b5e363adfc
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ class Task(db.Model):
|
|||
self.task = task
|
||||
self.uuid = uuid
|
||||
self.user = user
|
||||
if expire:
|
||||
if expire is not None:
|
||||
self.expire = datetime.datetime.utcnow() + expire
|
||||
|
||||
def __repr__(self):
|
||||
return '<Task {}({})>'.format(self.task, self.uuid)
|
||||
return '<Task {} ({})>'.format(self.task, self.uuid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue