File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def check_python_version():
1111 minor = sys .version_info .minor
1212
1313 if major != 3 :
14- raise Exception (f"XMC Flasher requires Python3! Installed version is { major } .{ minor } " )
14+ raise Exception (f"XMC Flasher requires Python3! Current version is { major } .{ minor } " )
1515
1616def get_jlink_install_path ():
1717 location = winreg .HKEY_CURRENT_USER
@@ -28,7 +28,7 @@ def set_environment():
2828 if sys .platform == 'linux' or sys .platform == 'linux2' :
2929 jlinkexe = 'JLinkExe'
3030 elif sys .platform == 'win32' or sys .platform == 'cygwin' :
31- jlinkexe = f "{ get_jlink_install_path ()} \jlink.exe"
31+ jlinkexe = rf "{ get_jlink_install_path ()} \jlink.exe"
3232 elif sys .platform == 'darwin' :
3333 jlinkexe = 'jlink'
3434 print ('warning: mac os not validated' )
You can’t perform that action at this time.
0 commit comments