summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/scriptingprovider.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/scriptingprovider.py b/python/scriptingprovider.py
index b9969dd2..dfd87d63 100644
--- a/python/scriptingprovider.py
+++ b/python/scriptingprovider.py
@@ -640,7 +640,6 @@ class PythonScriptingInstance(ScriptingInstance):
if self.active_view is None:
return 0
selected_length = self.active_selection_end - self.active_selection_begin
- data = str(data)
if (len(data) == selected_length) or (selected_length == 0):
return self.active_view.write(self.active_selection_begin, data)
else: