File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ def handle_q(subcmd):
493493 elif subcmd .startswith ('Xfer:features:read' ):
494494 xfercmd_file = subcmd .split (':' )[3 ]
495495 xfercmd_abspath = os .path .dirname (os .path .abspath (__file__ ))
496- xml_folder = arch_convert_str (self .ql .archtype )
496+ xml_folder = arch_convert_str (self .ql .archtype ). lower ()
497497 xfercmd_file = os .path .join (xfercmd_abspath ,"xml" ,xml_folder , xfercmd_file )
498498
499499 if os .path .exists (xfercmd_file ) and self .ql .ostype is not QL_OS .WINDOWS :
Original file line number Diff line number Diff line change @@ -423,8 +423,7 @@ def arch_setup(archtype, ql):
423423 if archtype == QL_ARCH .ARM_THUMB :
424424 archtype = QL_ARCH .ARM
425425
426- archmanager = arch_convert_str (archtype ).upper ()
427- archmanager = ("QlArch" + archmanager )
426+ archmanager = f'QlArch{ arch_convert_str (archtype ).upper ()} '
428427
429428 if archtype in (QL_ARCH .X8664 , QL_ARCH .A8086 ):
430429 arch_str = "x86"
@@ -466,7 +465,7 @@ def profile_setup(ql):
466465 _profile = ql .profile
467466 debugmsg = "Profile: %s" % _profile
468467
469- os_profile = os .path .join (os .path .dirname (os .path .abspath (__file__ )), "profiles" , ostype_convert_str (ql .ostype ) + ".ql" )
468+ os_profile = os .path .join (os .path .dirname (os .path .abspath (__file__ )), "profiles" , ostype_convert_str (ql .ostype ). lower () + ".ql" )
470469
471470 if ql .profile :
472471 profiles = [os_profile , ql .profile ]
You can’t perform that action at this time.
0 commit comments