From 0e99822f1dbf43942bedc7afb0be1ba8935f0184 Mon Sep 17 00:00:00 2001 From: m455 Date: Mon, 2 Sep 2019 10:58:04 -0400 Subject: [PATCH] forgot to remove commented-out code --- LICENSE | 0 README.md | 0 nicethings | 2 -- 3 files changed, 2 deletions(-) mode change 100755 => 100644 LICENSE mode change 100755 => 100644 README.md diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/nicethings b/nicethings index 13f8a38..1a4230e 100755 --- a/nicethings +++ b/nicethings @@ -5,7 +5,6 @@ import os import sys import random -# edit the path below accordingly the_list = "/home/m455/code/nicethings/list.txt" program_name = "nicethings" top_line = "-----------------------------------------\n" @@ -32,7 +31,6 @@ def create_file(a_file): print(messages['list_created']) def show_random_line(a_file): - #thefile = open(a_file, 'r').read(1) temp = open(a_file, 'r') contents = temp.read(1) if not contents: