We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d333629 commit 84798b1Copy full SHA for 84798b1
qiling/utils.py
@@ -420,8 +420,11 @@ def profile_setup(ostype: QL_OS, filename: Optional[str]):
420
421
config = ConfigParser(converters={'int': int_converter})
422
423
- os_profile = pkgutil.get_data(__package__, f'profiles/{ostype.name.lower()}.ql').decode()
424
- config.read_string(os_profile)
+ try:
+ os_profile = pkgutil.get_data(__package__, f'profiles/{ostype.name.lower()}.ql').decode()
425
+ config.read_string(os_profile)
426
+ except FileNotFoundError as e:
427
+ pass
428
429
if filename:
430
config.read(filename)
0 commit comments