Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -326,6 +326,8 @@ def change_proxy(proxy):
|
|
326 |
|
327 |
|
328 |
def hide_middle_chars(s):
|
|
|
|
|
329 |
if len(s) <= 8:
|
330 |
return s
|
331 |
else:
|
|
|
326 |
|
327 |
|
328 |
def hide_middle_chars(s):
|
329 |
+
if s is None:
|
330 |
+
return ""
|
331 |
if len(s) <= 8:
|
332 |
return s
|
333 |
else:
|