fixed python error when you cancel out of scry window