Skip to content

Commit

Permalink
More explicit settings description
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdoehne committed Dec 24, 2018
1 parent 02b6663 commit b08ead9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions stellarisdashboard/dash_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def _convert_python_bool_to_lowercase(py_bool: bool) -> str:
"value": current_settings["threads"],
"min": 1,
"max": config.CPU_COUNT,
"name": "Number of threads",
"name": "Number of threads (applies after restart)",
"description": "Maximal number of threads used for reading save files. The new value is applied after restarting the dashboard program.",
},
"plot_height": {
Expand All @@ -240,8 +240,8 @@ def _convert_python_bool_to_lowercase(py_bool: bool) -> str:
"save_file_path": {
"type": t_str,
"value": current_settings["save_file_path"],
"name": "Save file path (Submit empty to reset to default)",
"description": "This controls the path where the dashboard will look for new or updated Stellaris save files. If you leave this input empty, the value will be reset to the default value.",
"name": "Save file path (leave empty to restore default, applies after restart)",
"description": "This controls the path where the dashboard will look for new or updated Stellaris save files. If you leave this input empty, the value will be reset to the default value. The new value is applied after restarting the dashboard program.",
},
}
return render_template(
Expand Down Expand Up @@ -705,7 +705,6 @@ def __init__(self, min_date=float("-inf"),
system_filter=None,
planet_filter=None,
faction_filter=None,
scope_threshold=None,
):
self.min_date = float(min_date)
self.max_date = float(max_date)
Expand Down

0 comments on commit b08ead9

Please sign in to comment.