From 1535f7523799b7a08152abaa6acfd6e0afa8d848 Mon Sep 17 00:00:00 2001 From: lol-cubes Date: Wed, 27 Nov 2019 13:59:24 -0500 Subject: [PATCH] fix small bug --- cl_timer/timer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cl_timer/timer.py b/cl_timer/timer.py index 9ff7212..40a7cb2 100644 --- a/cl_timer/timer.py +++ b/cl_timer/timer.py @@ -283,7 +283,8 @@ def update_stats(): if isfile(f'{HOME}/.cl-timer_rc'): with open(f'{HOME}/.cl-timer_rc', 'r') as f: rc_commands = f.read().strip().split('\n') - rc_commands.remove('') + if '' in rc_commands: + rc_commands.remove('') for command in rc_commands: try: command_line(canvas, stdscr, settings, scramble_image, settings_file, session_file, times, ao5s, ao12s,