We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd58f7 commit bde36b2Copy full SHA for bde36b2
1 file changed
troubleshoot/ErrorLogFetch.py
@@ -66,7 +66,7 @@ def fetch_log (c):
66
prompt = c._get_prompt_allowed ()
67
c._set_prompt_allowed (False)
68
c._connect ()
69
- with tempfile.NamedTemporaryFile (delete=False) as tmpf:
+ with NamedTemporaryFile (delete=False) as tmpf:
70
success = False
71
try:
72
c.getFile ('/admin/log/error_log', tmpf.file)
0 commit comments