Update dicosi.py

use localhost as redis server