summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2020-04-11 19:04:44 -0400
committerBrian Potchik <brian@vector35.com>2020-04-11 19:04:44 -0400
commit726af72e02af85f3fcdcba97aa36543ccb5754d0 (patch)
tree6679c5894b5afb0e6ef81e885c96e5eff6fb875a /python
parent555c7760770c9004bb66793ce33f231e9adfe3bb (diff)
Create new settings instance for use in get_view_of_file_with_options.
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index d54a0d07..de89b5c6 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -830,7 +830,7 @@ class BinaryViewType(with_metaclass(_BinaryViewTypeMetaclass, object)):
if bvt is None:
bvt = cls["Mapped"]
- default_settings = settings.Settings()
+ default_settings = settings.Settings(bvt.name + "_settings")
default_settings.set_resource_id(bvt.name)
load_settings = bvt.get_load_settings_for_data(view)
load_settings.set_resource_id(bvt.name)