mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-13 06:34:45 -04:00
Misc fixes/optimizations
This commit is contained in:
parent
246d69cb30
commit
6cfd068a97
5 changed files with 12 additions and 11 deletions
|
@ -44,6 +44,7 @@ class DownloadCommand(Command):
|
|||
|
||||
def handle(self):
|
||||
global outdated
|
||||
global newest_version
|
||||
|
||||
# Use a thread so that it doesn't slow down startup
|
||||
update_check = threading.Thread(target=is_outdated, daemon=True)
|
||||
|
@ -102,7 +103,7 @@ class DownloadCommand(Command):
|
|||
)
|
||||
|
||||
md_header = re.compile(r"#\s+(.+)")
|
||||
bullet_point = re.compile(r"-\s*(.+)")
|
||||
bullet_point = re.compile(r"-\s+(.+)")
|
||||
code = re.compile(r"`([^`]+)`")
|
||||
issue_reference = re.compile(r"(#\d+)")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue