--- a/dialogs/BrowseLocationsDialog.py Mon Mar 27 10:19:14 2023 +0200
+++ b/dialogs/BrowseLocationsDialog.py Fri Oct 28 12:39:15 2022 +0800
@@ -24,7 +24,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.#
-from __future__ import absolute_import
+
import wx
from plcopen.structures import LOCATIONDATATYPES
@@ -54,7 +54,7 @@
# turn LOCATIONDATATYPES inside-out
LOCATION_SIZES = {}
-for size, types in LOCATIONDATATYPES.iteritems():
+for size, types in LOCATIONDATATYPES.items():
for type in types:
LOCATION_SIZES[type] = size