From 84aac26b6a64feb3dd4860ad6de570329b6dd7fc Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Wed, 28 Mar 2012 13:46:55 +0000 Subject: [PATCH] A pubsub used in the old way was causing an error in opening dicom folder by command line --- invesalius/invesalius.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/invesalius.py b/invesalius/invesalius.py index 052fb97..5a40b39 100755 --- a/invesalius/invesalius.py +++ b/invesalius/invesalius.py @@ -224,7 +224,7 @@ def parse_comand_line(): # If import DICOM argument... if options.dicom_dir: import_dir = options.dicom_dir - Publisher().sendMessage('Import directory', import_dir) + Publisher.sendMessage('Import directory', import_dir) return True # Check if there is a file path somewhere in what the user wrote -- libgit2 0.21.2