Cache refresh potential fix
This commit is contained in:
12
main.py
12
main.py
@@ -27,7 +27,7 @@ COUNTDOWN_HTML = os.path.join(app_folder, "countdown.html")
|
|||||||
GONOGO_HTML = os.path.join(app_folder, "gonogo.html")
|
GONOGO_HTML = os.path.join(app_folder, "gonogo.html")
|
||||||
SHEET_LINK = ""
|
SHEET_LINK = ""
|
||||||
session = requests.Session()
|
session = requests.Session()
|
||||||
appVersion = "0.6.0"
|
appVersion = "0.6.1"
|
||||||
SETTINGS_FILE = os.path.join(app_folder, "settings.json")
|
SETTINGS_FILE = os.path.join(app_folder, "settings.json")
|
||||||
|
|
||||||
# Default settings
|
# Default settings
|
||||||
@@ -237,7 +237,9 @@ body {{
|
|||||||
#timer {{ font-size: {timer_px}px; margin-bottom: 40px; }}
|
#timer {{ font-size: {timer_px}px; margin-bottom: 40px; }}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
setTimeout(() => location.reload(), 1000);
|
setTimeout(() => {{
|
||||||
|
location.href = location.href.split('?')[0] + '?t=' + Date.now();
|
||||||
|
}}, 1000);
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -303,7 +305,9 @@ body {{
|
|||||||
.nogo {{ color: {gn_nogo}; }}
|
.nogo {{ color: {gn_nogo}; }}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
setTimeout(() => location.reload(), 5000);
|
setTimeout(() => {{
|
||||||
|
location.href = location.href.split('?')[0] + '?t=' + Date.now();
|
||||||
|
}}, 5000);
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -642,8 +646,6 @@ class CountdownApp:
|
|||||||
)
|
)
|
||||||
self.settings_btn.grid(row=0, column=4, padx=6)
|
self.settings_btn.grid(row=0, column=4, padx=6)
|
||||||
|
|
||||||
# Note: gonogo mode switching remains in Settings; manual buttons appear when mode == 'buttons'
|
|
||||||
|
|
||||||
# Manual Go/No-Go buttons will go next to control buttons
|
# Manual Go/No-Go buttons will go next to control buttons
|
||||||
self.manual_frame = tk.Frame(root, bg="black")
|
self.manual_frame = tk.Frame(root, bg="black")
|
||||||
self.manual_frame.pack(pady=6)
|
self.manual_frame.pack(pady=6)
|
||||||
|
|||||||
Reference in New Issue
Block a user