Skip to content

Instantly share code, notes, and snippets.

@polirritmico
Created June 8, 2022 23:23
Show Gist options
  • Save polirritmico/4bc51c4dd49c0951c6412c16078a6313 to your computer and use it in GitHub Desktop.
Save polirritmico/4bc51c4dd49c0951c6412c16078a6313 to your computer and use it in GitHub Desktop.
Fix typo on function removeDocumentLink call
diff --git a/extension/python/components/Parlatype.py b/extension/python/components/Parlatype.py
index 2ce0e59..dfa3d5a 100644
--- a/extension/python/components/Parlatype.py
+++ b/extension/python/components/Parlatype.py
@@ -329,7 +329,7 @@ class ParlatypeController(object):
def unlinkMedia(self):
try:
doc = self.desktop.getCurrentComponent()
- removeDokumentLink(doc)
+ removeDocumentLink(doc)
self.linked = False
return True
except Exception as e:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment