Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from bemble/fix_real_debrid_mimetype
Browse files Browse the repository at this point in the history
fix(real debrid): real debrid might return none as mimeType
  • Loading branch information
bemble authored May 19, 2024
2 parents 81f6c9c + ff9ee35 commit 70ed02f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/holerr/debriders/real_debrid_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TorrentInfo(DebriderTorrentInfo):
class UnrestrictedLink(BaseModel):
id: str
filename: str
mimeType: str # Mime Type of the file, guessed by the file extension
mimeType: Optional[str] = None # Mime Type of the file, guessed by the file extension
filesize: int # Filesize in bytes, 0 if unknown
link: str # Original link
host: str # Host main domain
Expand Down

0 comments on commit 70ed02f

Please sign in to comment.