summaryrefslogtreecommitdiffstats
path: root/release-tools/patch_qmake_qt_key.py
diff options
context:
space:
mode:
Diffstat (limited to 'release-tools/patch_qmake_qt_key.py')
-rw-r--r--release-tools/patch_qmake_qt_key.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release-tools/patch_qmake_qt_key.py b/release-tools/patch_qmake_qt_key.py
index a47f85b..3518062 100644
--- a/release-tools/patch_qmake_qt_key.py
+++ b/release-tools/patch_qmake_qt_key.py
@@ -106,7 +106,7 @@ def fetch_key(qmake_file_name, key):
text = text[end_index:]
end_index_2 = re.search('\0', text)
- value = text[0:end_index_2.end()]
+ value = text[0:end_index_2.end() - 1]
return value