Skip to content

Commit 613b80c

Browse files
committed
Delete unnecessary files
1 parent 03c3562 commit 613b80c

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

Cinspirational.wav

-24.1 MB
Binary file not shown.

marks.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def resource_path(relative_path):
2424

2525
# File paths
2626
imaje = resource_path("186-europis-70x100-1.ico")
27-
send_answer = os.path.join(base_path, "skore.txt") # Saved next to the .exe
2827
path = os.path.join(base_path, "data.json") # Saved next to the .exe
2928

3029
font = QFont("Calibri", 18)
@@ -271,13 +270,7 @@ def create_leaderboard_table(leaderboard_window, layout):
271270
layout.insertWidget(0, table_view)
272271

273272
def show_leaderboard():
274-
global correct_count, send_answer
275-
x = correct_count * 2
276-
try:
277-
with open(send_answer, 'w', encoding='utf-8') as file:
278-
file.write(str(x))
279-
except PermissionError:
280-
print("Error: No write permissions in the folder.")
273+
global correct_count
281274
show_leaderboard_window()
282275

283276
def show_marks(window, ans10, qu10, qu9, qu8, qu7, qu6, qu5, qu4, qu3, qu2, qu1):

skore.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)