Skip to content

Commit

Permalink
Match script identifier over whole command line call to fix shutdown.…
Browse files Browse the repository at this point in the history
… Bugfix credit to @icytxw.
  • Loading branch information
dorpvom committed Jan 8, 2020
1 parent aec2854 commit 848c766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
line_length=120
default_section = THIRDPARTY
known_first_party=analysis,compare,helperFunctions,install,intercom,objects,plugins,
scheduler,statistic,storage,test,unpacker,web_interface
scheduler,statistic,storage,test,unpacker,version,web_interface
multi_line_output=6
2 changes: 1 addition & 1 deletion src/helperFunctions/program_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ def _load_config(args):


def was_started_by_start_fact():
parent = psutil.Process(os.getppid()).cmdline()[-1]
parent = ' '.join(psutil.Process(os.getppid()).cmdline())
return 'start_fact.py' in parent or 'start_all_installed_fact_components' in parent

0 comments on commit 848c766

Please sign in to comment.