Skip to content

Commit

Permalink
change ssize col
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores committed Aug 27, 2024
1 parent 725a1db commit f50eb68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ofscraper/commands/managers/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def print_dictionary_table(self):
for dictionary in dictionaries:
dictionary["posted_at"]=arrow.get(dictionary["posted_at"]).format(constants.getattr("API_DATE_FORMAT"))
dictionary["created_at"]=arrow.get(dictionary["created_at"]).format(constants.getattr("API_DATE_FORMAT"))
dictionary["size"]=f"{format_size(dictionary['size'] or 0)}/{dictionary['size']}"
dictionary["size"]=f"{dictionary['size']} [{format_size(dictionary['size'] or 0)}]"
# Get the unique keys from all dictionaries
keys = set()
for dictionary in dictionaries:
Expand Down
4 changes: 3 additions & 1 deletion ofscraper/utils/args/parse/group_bundles/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ def db_args(func):
@click.option_group(
media_filter_options_desc,
media_type_option,
max_size_option,
min_size_option,
max_size_option,
length_min,
length_max,
media_id_filter,
help=media_filter_options_help
)
Expand Down

0 comments on commit f50eb68

Please sign in to comment.