summary refs log tree commit diff stats
path: root/ranger/core/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r--ranger/core/actions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index a39cef21..c7e0909e 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -967,6 +967,7 @@ class Actions(FileManagerAware, SettingsAware):
                     path, str(width), str(height), cacheimg,
                     str(self.settings.preview_images)], read=True,
                     silent=True, descr="Getting preview of %s" % path)
+        
                 def on_after(signal):
                     exit = signal.process.poll()
                     content = signal.loader.stdout_buffer
@@ -1012,6 +1013,7 @@ class Actions(FileManagerAware, SettingsAware):
                         else:
                             pager.set_source(self.thisfile.get_preview_source(
                                 pager.wid, pager.hei))
+
                 def on_destroy(signal):
                     try:
                         del self.previews[path]
@@ -1164,6 +1166,7 @@ class Actions(FileManagerAware, SettingsAware):
             contexts = 'browser', 'console', 'pager', 'taskview'
 
         temporary_file = tempfile.NamedTemporaryFile()
+        
         def write(string):
             temporary_file.write(string.encode('utf-8'))
 
@@ -1189,6 +1192,7 @@ class Actions(FileManagerAware, SettingsAware):
 
     def dump_commands(self):
         temporary_file = tempfile.NamedTemporaryFile()
+        
         def write(string):
             temporary_file.write(string.encode('utf-8'))
 
@@ -1214,6 +1218,7 @@ class Actions(FileManagerAware, SettingsAware):
 
     def dump_settings(self):
         temporary_file = tempfile.NamedTemporaryFile()
+        
         def write(string):
             temporary_file.write(string.encode('utf-8'))