mirror of
https://github.com/house-of-vanity/gaspar.git
synced 2025-07-06 18:24:07 +00:00
Improve styling and logging.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
from datetime import datetime
|
||||
|
||||
def format_topic(tor_id, topic_title, size, info_hash, reg_time, pre=None):
|
||||
def format_topic(tor_id, topic_title, size, info_hash, reg_time, pre=''):
|
||||
def sizeof_fmt(num, suffix='B'):
|
||||
num = int(num)
|
||||
for unit in ['','Ki','Mi','Gi','Ti','Pi','Ei','Zi']:
|
||||
|
Reference in New Issue
Block a user