From c83af65fdedfa22985acf3a6d40fabe18c047602 Mon Sep 17 00:00:00 2001 From: eg7eg7 Date: Mon, 13 Apr 2020 17:06:38 +0300 Subject: [PATCH] changed iterator access (#232) --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 77d00cc..bd4fb87 100644 --- a/app.py +++ b/app.py @@ -421,7 +421,7 @@ def check_for_export(options, suffix='', remove_surfaces=False): try: from invesalius.project import Project - for threshold_name, threshold_range in Project().presets.thresh_ct.iteritems(): + for threshold_name, threshold_range in Project().presets.thresh_ct.items(): if isinstance(threshold_range[0], int): path_ = u'{}-{}-{}.stl'.format(options.export_to_all, suffix, threshold_name) export(path_, threshold_range, remove_surface=True) -- libgit2 0.21.2