You are right. It should be 'r+' mode, ^_^
Did you try reading the error message?
I don't think 'wr' is an allowed mode for open()
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python