diff options
author | alyx <alyx@aleteoryx.me> | 2023-12-24 18:52:17 -0500 |
---|---|---|
committer | alyx <alyx@aleteoryx.me> | 2023-12-24 18:52:17 -0500 |
commit | 8786ac439b00772235f107b2f98456e2dffc69de (patch) | |
tree | 4c509ed54db4b0f9ad213621121eb714edbfd7b9 /src/bbss/site.py | |
parent | defde6070677e806c40d5891543848fcb2001ef5 (diff) | |
download | bbss.py-master.tar.gz bbss.py-master.tar.bz2 bbss.py-master.zip |
Diffstat (limited to 'src/bbss/site.py')
-rw-r--r-- | src/bbss/site.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bbss/site.py b/src/bbss/site.py index 134ee8b..3829ae9 100644 --- a/src/bbss/site.py +++ b/src/bbss/site.py @@ -6,7 +6,7 @@ from collections.abc import Sequence import requests class Site: - def __init__(self, domain: str, path: Optional[str], *, scheme: Optional[str]): + def __init__(self, domain: str, path: Optional[str] = None, *, scheme: Optional[str] = None): base = (scheme if scheme is not None else "https") + "://" + domain hit_sizefile = False |