Signed-off-by: Lu Kaiyi 2392863668@qq.com --- src/lib/job.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/job.cr b/src/lib/job.cr index be3446e..907644b 100644 --- a/src/lib/job.cr +++ b/src/lib/job.cr @@ -50,7 +50,7 @@ class Job @hash = job_content.as_h
# init job with "-1", or use the original job_content["id"] - id == "-1" if "#{id}" == "" + id = "-1" if "#{id}" == ""
if initialized? return if @hash["id"] == "#{id}"