aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/isodumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 69a645a..bd8802b 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -563,7 +563,7 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog
current_pid = psutil.Process().pid
proc_iter = psutil.process_iter(attrs=["pid", "name"])
for p in proc_iter:
- if p.info["name"] == APP and p.info["name"] != current_pid:
+ if (p.info["name"] == APP) and (p.info["pid"] != current_pid):
info = Info(_("Error"), True, _("There is another instance of Isodumper already running."))
self.ask_OK(info)
yui.YUILoader.deleteUI()