Update blog.py

if this global is close  or  down  create an new one