Skip to content

Commit

Permalink
fix iambus#58: could not find task after adding a single chinese url …
Browse files Browse the repository at this point in the history
…from command line on windows
  • Loading branch information
iambus committed Mar 18, 2012
1 parent ddaac88 commit 9f05891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lixian_cli.py
Expand Up @@ -414,7 +414,7 @@ def download_task(args):
print 'Adding new task %s ...' % url
client.add_task(to_utf_8(url))
tasks = client.read_all_completed()
tasks = filter_tasks(tasks, 'original_url', url)
tasks = filter_tasks(tasks, 'original_url', to_utf_8(url))
assert tasks, 'task not found, wired'
tasks = merge_bt_sub_tasks(tasks)
if args.output:
Expand Down

0 comments on commit 9f05891

Please sign in to comment.