diff options
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index eb2b568d8..8b8ab4025 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -65,10 +65,7 @@ class PluginThread(Thread): for key, value in frame.f_locals.items(): dump += "\t%20s = " % key try: - if hasattr(value, "__iter__"): - dump += pformat(value) + ":" + pformat(list(value)) - else: - dump += pformat(value) + "\n" + dump += pformat(value) + "\n" except: dump += "<ERROR WHILE PRINTING VALUE>\n" |