Skip to content

Commit a884209

Browse files
committed
Fixes genie script script
IMAT scripts were not being picked up by pylint as u:\scripts was not in its paths to check
1 parent a7dd06c commit a884209

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/genie_python/genie_script_checker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ def check_script(
299299
init_hook = (
300300
"import sys;"
301301
'sys.path.append("{}");'
302+
'sys.path.append("U:\\scripts");'
302303
'sys.path.append("C:\\Instrument\\scripts");'.format(inst_file_path)
303304
)
304305
init_hook = init_hook.replace("\\", "\\\\")

0 commit comments

Comments
 (0)