Skip to content

Commit

Permalink
Update src/tribler/core/components/database/db/layers/health_data_acc…
Browse files Browse the repository at this point in the history
…ess_layer.py

Co-authored-by: Alexander Kozlovsky <[email protected]>
  • Loading branch information
drew2a and kozlovsky authored Oct 6, 2023
1 parent 15050dd commit 5e7fd97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class HealthInfo(db.Entity):
seeders = orm.Required(int, default=0)
leechers = orm.Required(int, default=0)
source = orm.Required(int, default=0) # Source enum
trackers = orm.Set(lambda: Tracker)
tracker = orm.Required(lambda: Tracker)
last_check = orm.Required(datetime.datetime, default=datetime.datetime.utcnow)

class Tracker(db.Entity):
Expand Down

0 comments on commit 5e7fd97

Please sign in to comment.