mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-09 16:00:53 +08:00
remove unused functions
This commit is contained in:
parent
29d51ee78a
commit
c4681beb4e
1 changed files with 0 additions and 17 deletions
|
|
@ -170,23 +170,6 @@ class Failed(Exception):
|
|||
pass
|
||||
|
||||
|
||||
separating_character = "="
|
||||
screen_width = 100
|
||||
spacing = 0
|
||||
|
||||
|
||||
def tab_new_lines(data):
|
||||
return str(data).replace("\n", "\n|\t ") if "\n" in str(data) else str(data)
|
||||
|
||||
|
||||
def add_dict_list(keys, value, dict_map):
|
||||
for key in keys:
|
||||
if key in dict_map:
|
||||
dict_map[key].append(value)
|
||||
else:
|
||||
dict_map[key] = [value]
|
||||
|
||||
|
||||
def list_in_text(text, search_list, match_all=False):
|
||||
if isinstance(search_list, list): search_list = set(search_list)
|
||||
contains = set([x for x in search_list if ' ' in x])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue