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,