Update weaver.py