Skip to content

Commit 6ce08c7

Browse files
committed
chore: add space and consistency to download sem
1 parent 39dbb87 commit 6ce08c7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ofscraper/utils/args/parse/arguments/download.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
"-sd",
2525
"--downloadsem",
2626
"--downloadsems",
27-
"--download-sems",
27+
"--download-sems"
2828
"--download-sem",
2929
"--sems",
3030
"--sem",
31-
"downloadsem",
31+
"download_sem",
3232
help="Number of concurrent downloads per thread",
3333
default=None,
3434
type=int,

ofscraper/utils/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _listhelper(out):
145145
merged.text_length = args.text_length or config_data.get_textlength()
146146
merged.size_max = args.size_max or config_data.get_filesize_max()
147147
merged.size_min = args.size_min or config_data.get_filesize_min()
148-
merged.download_sems = args.downloadsem or config_data.get_download_semaphores()
148+
merged.download_sems = args.download_sem or config_data.get_download_semaphores()
149149
merged.system_free_min = args.system_free_min or config_data.get_system_freesize()
150150
merged.max_post_count = args.max_count or config_data.get_max_post_count()
151151
merged.mediatypes = args.mediatypes or config_data.get_filter()

0 commit comments

Comments
 (0)