formatting
This commit is contained in:
parent
0b16f75825
commit
75306f6440
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ class Job:
|
||||||
"""
|
"""
|
||||||
jobsdb = _db()
|
jobsdb = _db()
|
||||||
|
|
||||||
data = jobsdb.query('SELECT uuid,command,arguments,due,originator,completed FROM jobs WHERE uuid = "' + uuid + '" LIMIT 1;', returns="one")
|
data = jobsdb.query('SELECT uuid,command,arguments,due,originator,completed \
|
||||||
|
FROM jobs WHERE uuid = "' + uuid + '" LIMIT 1;', returns="one")
|
||||||
print data
|
print data
|
||||||
if data:
|
if data:
|
||||||
(self.uuid, self.command, self.arguments, self.due, self.originator, self.completed) = data
|
(self.uuid, self.command, self.arguments, self.due, self.originator, self.completed) = data
|
||||||
|
|
Loading…
Reference in a new issue