test
This commit is contained in:
parent
612bfb4739
commit
f13d1bc2d7
@ -73,7 +73,7 @@ def do_file_search(arr_file_path):
|
||||
def do_reverse_recursive_directory_search(arr_file_path):
|
||||
dbID = None
|
||||
arr_dir_path = os.path.dirname(arr_file_path)
|
||||
while arr_dir_path != "/":
|
||||
while arr_dir_path != os.path.abspath(os.sep) and not arr_dir_path.endswith(":\\"):
|
||||
arr_dir_path = os.path.dirname(arr_dir_path)
|
||||
dbID = do_file_search(arr_dir_path)
|
||||
if dbID:
|
||||
@ -133,7 +133,6 @@ def main():
|
||||
sys.exit(0)
|
||||
|
||||
loggit("Preparing payload to POST to tdarr API\n")
|
||||
print(os.path.abspath(os.sep))
|
||||
# do_tdarr_inform(dbID, arr_file_path)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user