Merge branch 'future-dated-records' of cmccabe/linkulator2 into master
This commit is contained in:
commit
d04d29c7d8
|
@ -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.")
|
||||
|
|
Loading…
Reference in New Issue