diff --git a/linkulator b/linkulator index c7d352f..4951203 100755 --- a/linkulator +++ b/linkulator @@ -86,8 +86,9 @@ def build_menu(): continue line = line.rstrip("\n") split_line = line.split("|") - split_line.insert(0, file_owner) - linkulator_lines.append(split_line) ## creating a list of lists + if split_line[0] and float(split_line[0]) < time.time(): # ONLY USE LINK IF DATE IS EARLIER THAN NOW + split_line.insert(0, file_owner) + linkulator_lines.append(split_line) ## creating a list of lists if len(linkulator_lines) == 0: print("It looks link there are no links yet. Run 'linkulator -p' to add one.")