Commit 829e75d11ccdfd2bbd63a4dc59fd7a52f3045f04

Authored by Santiago Castro
1 parent 68bfe4c7
Exists in command-line

Fix missing session assignment in non-gui mode

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
@@ -290,6 +290,7 @@ def use_cmd_optargs(options, args): @@ -290,6 +290,7 @@ def use_cmd_optargs(options, args):
290 # If debug argument... 290 # If debug argument...
291 if options.debug: 291 if options.debug:
292 Publisher.subscribe(print_events, Publisher.ALL_TOPICS) 292 Publisher.subscribe(print_events, Publisher.ALL_TOPICS)
  293 + session = ses.Session()
293 session.debug = 1 294 session.debug = 1
294 295
295 # If import DICOM argument... 296 # If import DICOM argument...