We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e61f8ab + cc4fa9a commit fd48974Copy full SHA for fd48974
1 file changed
‎micropython.py‎
@@ -1,6 +1,7 @@
1
import sublime
2
import sublime_plugin
3
4
+import os
5
import sys
6
from .modules.ampy import ampy, pyboard
7
from textwrap import indent
@@ -67,6 +68,9 @@ def run(self):
67
68
self.window.show_quick_panel(self.files, self.selected)
69
70
def selected(self, id):
71
+ if id == -1:
72
+ return
73
+
74
file_name = self.files[id]
75
local_files = os.listdir(self.project_path)
76
0 commit comments