File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 77
88
99app_version = version ('py-config-gs' )
10+
1011# Configure logging
1112logging .basicConfig (level = logging .DEBUG , # Set the log level to DEBUG
1213 format = '%(asctime)s - %(levelname)s - %(message)s' )
2526
2627# Log the SETTINGS_FILE path
2728logger .info (f'Settings file path: { SETTINGS_FILE } ' )
29+ logger .info (f'App version: { app_version } ' )
2830
2931# Load settings.json
3032with open (SETTINGS_FILE , 'r' ) as f :
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ <h1>Welcome to the Configuration Manager</h1>
3131
3232 <!-- Footer Section -->
3333 < footer >
34- < p > © 2024 My Flask App </ p >
35- </ footer >
34+ < p > © 2024 PyConfig Groundstation, version: {{ version }} </ p >
35+ </ footer >
3636
3737</ body >
3838</ html >
You can’t perform that action at this time.
0 commit comments