forgot to remove commented-out code
parent
fdc0c5751a
commit
0e99822f1d
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue