1 parent 55a1cb7 commit af6d050Copy full SHA for af6d050
1 file changed
Compressor.py
@@ -214,6 +214,11 @@ def load_decompress(view):
214
'''
215
filepath = view.file_name()
216
window = view.window()
217
+
218
+ if window is None:
219
+ # Sometime window can be None
220
+ return
221
222
for item in window.views():
223
if item.get_status('decompressed') == filepath:
224
window.run_command('close_file')
0 commit comments