mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
moved the recursion limit to the main file so that it will load at the start of the program (issue #285)
This commit is contained in:
parent
301461bf71
commit
c83f745f84
1 changed files with 0 additions and 6 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import re
|
||||
import sys
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
|
|
@ -126,11 +125,6 @@ def github_gist_search_main(query, **kwargs):
|
|||
verbose = kwargs.get("verbose", False)
|
||||
page_set = kwargs.get("page_set", 5)
|
||||
|
||||
# there seems to be a recursion issue in this function,
|
||||
# so until I get this figured out, we're going to change
|
||||
# the maximum recursion of the system when we get here
|
||||
sys.setrecursionlimit(1500)
|
||||
|
||||
try:
|
||||
lib.core.settings.logger.info(lib.core.settings.set_color(
|
||||
"searching a total of {} pages of Gists for '{}'".format(
|
||||
|
|
|
|||
Loading…
Reference in a new issue