We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8ef7a9 commit a99715bCopy full SHA for a99715b
Engine/FileDB/FileDB.cs
@@ -35,9 +35,6 @@ public partial class FileDB : IDisposable
35
#region AddOrUpdate
36
public void AddOrUpdate(TorrentBaseDetails torrent)
37
{
38
- if (string.IsNullOrWhiteSpace(torrent.magnet) || torrent.types == null || torrent.types.Length == 0)
39
- return;
40
-
41
if (db.TryGetValue(torrent.url, out TorrentDetails t))
42
43
long startUpdateTime = t.updateTime.ToFileTimeUtc();
@@ -131,6 +128,9 @@ void upt()
131
128
}
132
129
else
133
130
+ if (string.IsNullOrWhiteSpace(torrent.magnet) || torrent.types == null || torrent.types.Length == 0)
+ return;
+
134
t = new TorrentDetails()
135
136
url = torrent.url,
0 commit comments