From 054bbd8a9b9598e148a3600b6fe1323d9c74c56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 11 Oct 2017 16:20:37 +0200 Subject: [PATCH] comm: no need to fetch potential ports again --- src/octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 23c34a1f..f1ee6be0 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1867,7 +1867,7 @@ class MachineCom(object): elif len(potentials) > 1: programmer = stk500v2.Stk500v2() - for p in serialList(): + for p in potentials: serial_obj = None try: