Skip to content

Commit 8a98758

Browse files
authored
fix: change initialization of simage and gimage variables (#404)
Signed-off-by: Pavel Polyakov <[email protected]>
1 parent df83ac3 commit 8a98758

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MKSPreview.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ def take_screenshot():
114114

115115
def generate_preview(global_container_stack, image):
116116
screenshot_string = ""
117+
simage = 0
118+
gimage = 0
117119
meta_data = global_container_stack.getMetaData()
118120
Logger.log("d", "Get current preview settings.")
119121
encoded = False

0 commit comments

Comments
 (0)