aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/rparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/rparse.py')
-rw-r--r--libpathod/rparse.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpathod/rparse.py b/libpathod/rparse.py
index ea12185b..1a615950 100644
--- a/libpathod/rparse.py
+++ b/libpathod/rparse.py
@@ -533,9 +533,11 @@ class Message:
def preview_safe(self):
"""
- Modify this message to be safe for previews.
+ Modify this message to be safe for previews. Returns a list of elided actions.
"""
+ pauses = [i for i in self.actions if i[1] == "pause"]
self.actions = [i for i in self.actions if i[1] != "pause"]
+ return pauses
def effective_length(self, actions):
"""