Skip to content

Commit 1761090

Browse files
committed
more flake8
1 parent 0b23475 commit 1761090

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

torbot/modules/collect_data.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,7 @@ def get_links(url: str) -> list[str]:
4444
return links
4545

4646

47-
default_url = 'https://thehiddenwiki.org' # used for testing
48-
49-
50-
def collect_data(user_url: str):
51-
url = user_url if user_url is not None else default_url
52-
47+
def collect_data(url: str = 'https://thehiddenwiki.org'):
5348
print(f"Gathering data for {url}")
5449
links = get_links(url)
5550
current_time = datetime.datetime.now().isoformat()

0 commit comments

Comments
 (0)