Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Removed extraneous variable & corrected associated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSerrano committed Nov 21, 2019
1 parent cd435a3 commit 293d6ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Backend/app_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def get_filenames(base_dir, file_path, file_names):
#full_path = path.join(file_path, cur)
full_path = file_path + '/' + cur

#Gets the name of the current directory, then joins with the current filename before appending
directory = path.split(file_path)[-1]
#Removes the directory for the project from the filename, so we only get 'local' dirs in it.
final_name = full_path.replace(base_dir, '')[1:]

#If file...
Expand Down

0 comments on commit 293d6ad

Please sign in to comment.