Update reply.py

replace @with_transaction with @db_session