Skip to content

Commit

Permalink
style: 清理无效代码
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi committed Dec 25, 2024
1 parent f728626 commit 59e9191
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xiaomusic/httpserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import hashlib
import json
import os
import re
import secrets
import shutil
import tempfile
Expand Down Expand Up @@ -689,9 +688,6 @@ def access_key_verification(file_path, key, code):
return False


range_pattern = re.compile(r"bytes=(\d+)-(\d*)")


def safe_redirect(url):
url = try_add_access_control_param(config, url)
url = url.replace("\\", "")
Expand Down

0 comments on commit 59e9191

Please sign in to comment.