Skip to content

Commit

Permalink
fix issue #1 updating tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
revant committed May 3, 2017
1 parent a938fe3 commit 980660e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gi2et/gi2et/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ def add_update_task(project=None, task=None):
if t.get("github_id") == str(task["github_id"]):
update_task = frappe.get_doc("Task", t.get("name"))
update_task.update({
"subject": task["subject"],
"status": task["status"],
"exp_start_date": task["exp_start_date"],
"exp_end_date": task["exp_end_date"],
"description": task["description"],
"subject": task["subject"].decode('utf-8'),
"status": task["status"].decode('utf-8'),
"exp_start_date": task["exp_start_date"].decode('utf-8'),
"exp_end_date": task["exp_end_date"].decode('utf-8'),
"description": task["description"].decode('utf-8'),
})
update_task.flags.ignore_links = True
update_task.flags.from_project = True
Expand Down

0 comments on commit 980660e

Please sign in to comment.