mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-04-28 03:53:10 -07:00
fix(api): add missing return in info_file after exhausted loop
Prevent implicit None return when no data row matches the expected transmission-remote --info-files format. Also clarify README macOS install note. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -77,7 +77,7 @@ sudo apt-get install -y p7zip-full transmission-daemon
|
||||
|
||||
macOS (Homebrew):
|
||||
```bash
|
||||
brew install p7zip transmission-cli
|
||||
brew install p7zip transmission-cli # provides transmission-daemon and transmission-remote
|
||||
```
|
||||
|
||||
Then install the Python dependencies and CLI shim:
|
||||
|
||||
@@ -461,6 +461,7 @@ class TransmissionSession:
|
||||
if len(tokens) == 2:
|
||||
return tokens[1]
|
||||
return rest
|
||||
return ""
|
||||
except Exception:
|
||||
return ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user