Skip to content

Commit bde36b2

Browse files
committed
ErrorLogFetch: fix unresolved reference
1 parent 6dd58f7 commit bde36b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

troubleshoot/ErrorLogFetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def fetch_log (c):
6666
prompt = c._get_prompt_allowed ()
6767
c._set_prompt_allowed (False)
6868
c._connect ()
69-
with tempfile.NamedTemporaryFile (delete=False) as tmpf:
69+
with NamedTemporaryFile (delete=False) as tmpf:
7070
success = False
7171
try:
7272
c.getFile ('/admin/log/error_log', tmpf.file)

0 commit comments

Comments
 (0)