Skip to content

Commit 0146f41

Browse files
committed
Fix name error, found by pychecker.
1 parent 7b8e35e commit 0146f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/cgitb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def handle(self, info=None):
193193

194194
if self.logdir is not None:
195195
import os, tempfile
196-
(fd, name) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
196+
(fd, path) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
197197
dir=self.logdir)
198198
try:
199199
file = os.fdopen(fd, 'w')

0 commit comments

Comments
 (0)