Skip to content

Commit 06d4110

Browse files
author
Joseph Damiba
authored
Update check-or-enforce-order.py
1 parent f7f7576 commit 06d4110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

check-or-enforce-order.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def enforceOrder(list_to_be_ordered):
4040
fm.dump(post_to_be_altered, post)
4141

4242
def is_consecutive(list_to_be_checked):
43-
if folder_path in ["python", "build/html", "r", "build"] and len(list_to_be_checked) > 0:
43+
if folder_path in ["python", "build/html", "r", "build", "build/r"] and len(list_to_be_checked) > 0:
4444
list_to_be_checked = list_to_be_checked + [5]
4545
print(sorted(list_to_be_checked))
4646
return sorted(list_to_be_checked) == list(range(1, len(list_to_be_checked)+1))
@@ -104,4 +104,4 @@ def check_order():
104104
print("*******************************************")
105105
print("Order of '{}' After Enforcing!".format(folder_path))
106106
print("*******************************************\n")
107-
check_order()
107+
check_order()

0 commit comments

Comments
 (0)