Skip to content

Commit

Permalink
Fix doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Feb 3, 2022
1 parent e5abbd6 commit f4240de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
from tribler_core.utilities.dependencies import Scope, get_dependencies
from tribler_core.utilities.patch_import import patch_import

modules_to_mock = set(get_dependencies(scope=Scope.core)) | \
set(get_dependencies(scope=Scope.common)) | {'libtorrent', 'validate'}
modules_to_mock = set(get_dependencies(scope=Scope.core)) | {'libtorrent', 'validate'}

with patch_import(modules=modules_to_mock):
from tribler_core.components.restapi.rest.root_endpoint import RootEndpoint
Expand Down

0 comments on commit f4240de

Please sign in to comment.