thg: centralize the computation of the directory containing the thg main script
The invocation of os.path.dirname(os.path.realpath(__file__)) was made in two places. We can centralize it to a single place on top of the file. In the process, the variable can be renamed to thg_base_path. No functional changes.
Showing