summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/types.py')
-rw-r--r--python/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/types.py b/python/types.py
index 67976a33..8880d152 100644
--- a/python/types.py
+++ b/python/types.py
@@ -668,7 +668,7 @@ class Type(object):
param_buf[i].defaultLocation = True
else:
param_buf[i].defaultLocation = False
- param_buf[i].location.type = params[i].location.type
+ param_buf[i].location.type = params[i].location.source_type
param_buf[i].location.index = params[i].location.index
param_buf[i].location.storage = params[i].location.storage
else: