Merge branch 'future-dated-records' of cmccabe/linkulator2 into master

This commit is contained in:
cmccabe 2019-12-04 17:43:28 -05:00 committed by Gitea
commit d04d29c7d8
1 changed files with 3 additions and 2 deletions

View File

@ -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.")