Commit 84aac26b6a64feb3dd4860ad6de570329b6dd7fc

Authored by tfmoraes
1 parent 903ccf9e

A pubsub used in the old way was causing an error in opening dicom folder by command line

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/invesalius.py
... ... @@ -224,7 +224,7 @@ def parse_comand_line():
224 224 # If import DICOM argument...
225 225 if options.dicom_dir:
226 226 import_dir = options.dicom_dir
227   - Publisher().sendMessage('Import directory', import_dir)
  227 + Publisher.sendMessage('Import directory', import_dir)
228 228 return True
229 229  
230 230 # Check if there is a file path somewhere in what the user wrote
... ...