forgot to remove commented-out code

cleanup
m455 2019-09-02 10:58:04 -04:00
parent fdc0c5751a
commit 0e99822f1d
3 changed files with 0 additions and 2 deletions

0
LICENSE 100755 → 100644
View File

0
README.md 100755 → 100644
View File

View File

@ -5,7 +5,6 @@ import os
import sys import sys
import random import random
# edit the path below accordingly
the_list = "/home/m455/code/nicethings/list.txt" the_list = "/home/m455/code/nicethings/list.txt"
program_name = "nicethings" program_name = "nicethings"
top_line = "-----------------------------------------\n" top_line = "-----------------------------------------\n"
@ -32,7 +31,6 @@ def create_file(a_file):
print(messages['list_created']) print(messages['list_created'])
def show_random_line(a_file): def show_random_line(a_file):
#thefile = open(a_file, 'r').read(1)
temp = open(a_file, 'r') temp = open(a_file, 'r')
contents = temp.read(1) contents = temp.read(1)
if not contents: if not contents: