terry-li-hm commited on
Commit
a885210
ยท
1 Parent(s): a76b03e

Update `sv.py`

Browse files
Files changed (1) hide show
  1. sv.py +0 -9
sv.py CHANGED
@@ -91,12 +91,6 @@ emo_set = {"๐Ÿ˜Š", "๐Ÿ˜”", "๐Ÿ˜ก", "๐Ÿ˜ฐ", "๐Ÿคข", "๐Ÿ˜ฎ"}
91
  event_set = {"๐ŸŽผ", "๐Ÿ‘", "๐Ÿ˜€", "๐Ÿ˜ญ", "๐Ÿคง", "๐Ÿ˜ท"}
92
 
93
 
94
- def format_str(s):
95
- for sptk in emoji_dict:
96
- s = s.replace(sptk, emoji_dict[sptk])
97
- return s
98
-
99
-
100
  def format_str_v2(s):
101
  sptk_dict = {}
102
  for sptk in emoji_dict:
@@ -149,9 +143,6 @@ def time_to_seconds(time_str):
149
  return round(int(h) * 3600 + int(m) * 60 + float(s), 9)
150
 
151
 
152
- import datetime
153
-
154
-
155
  def parse_time(time_str):
156
  # Remove 's' if present at the end of the string
157
  time_str = time_str.rstrip("s")
 
91
  event_set = {"๐ŸŽผ", "๐Ÿ‘", "๐Ÿ˜€", "๐Ÿ˜ญ", "๐Ÿคง", "๐Ÿ˜ท"}
92
 
93
 
 
 
 
 
 
 
94
  def format_str_v2(s):
95
  sptk_dict = {}
96
  for sptk in emoji_dict:
 
143
  return round(int(h) * 3600 + int(m) * 60 + float(s), 9)
144
 
145
 
 
 
 
146
  def parse_time(time_str):
147
  # Remove 's' if present at the end of the string
148
  time_str = time_str.rstrip("s")