Add "file" argument to Hook constructor.
By default, save sys.stdout in self.file when a Hook instance is created (e.g. when cgitb.enable() is called).
Showing
Please register or sign in to comment
By default, save sys.stdout in self.file when a Hook instance is created (e.g. when cgitb.enable() is called).