Skip to content

Commit

Permalink
fixed the config screen output for the API config. For some reason, t…
Browse files Browse the repository at this point in the history
…here is one for the command line tools and a duplicate for the API.
  • Loading branch information
KathleenLabrie committed May 4, 2019
1 parent ca1d65c commit e964362
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions recipe_system/cal_service/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,16 +312,17 @@ def _config_info(self, conf):
path = self._mgr._db_path

is_active = \
"The 'standalone' flag is active; local calibrations will be used."
"The 'standalone' flag is \033[1mactive\033[0m; local calibrations will be used."

inactive = (
"The 'standalone' flag is not active; remote calibrations will be"
" downloaded.")

print("Using configuration file: {}".format(conf.config_file))
print()
print("The active database directory is: {}".format(conf.database_dir))
print("The database file to be used: {}".format(path))
print("Using configuration file: \033[1m{}\033[0m".format(conf.config_file))
print("Active database directory: \033[1m{}\033[0m".format(conf.database_dir))
print("Database file: \033[1m{}\033[0m".format(path))
print()
if conf.standalone:
print(is_active)
else:
Expand Down

0 comments on commit e964362

Please sign in to comment.