Fix quit in admin.py