Minor bug checking the "freeze sketch" option
@@ -23,6 +23,9 @@ class DeviotFreezeSketchCommand(WindowCommand):
view = window.active_view()
self.sketch_path = view.file_name()
+ if(not self.sketch_path):
+ return enabled
+
self.setting_path = get_setting('freeze_sketch', None)
if(self.sketch_path.endswith('.ino') or
