Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
The base_url is not needed/called in the function. Better to remove it.
  • Loading branch information
Braxton Fair committed Mar 1, 2016
1 parent 242bc66 commit ddf2201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def create_project_dir(directory):


# Remove queue and crawled files (if exist)
def remove_data_files(project_name, base_url):
def remove_data_files(project_name):
queue = project_name + '/queue.txt'
crawled = project_name + '/crawled.txt'
if os.path.isfile(queue):
Expand Down

0 comments on commit ddf2201

Please sign in to comment.