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
app.py
... ... @@ -290,6 +290,7 @@ def use_cmd_optargs(options, args):
290 290 # If debug argument...
291 291 if options.debug:
292 292 Publisher.subscribe(print_events, Publisher.ALL_TOPICS)
  293 + session = ses.Session()
293 294 session.debug = 1
294 295  
295 296 # If import DICOM argument...
... ...