Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Fix - Session class web_port (sulley_refactor) #97

Open
wants to merge 2 commits into
base: sulley_refactor
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sulley/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ def __init__(self, session_filename=None, skip=0, sleep_time=1.0, log_level=logg
except:
self.signal_module = False

self.web_interface_thread = self.build_webapp_thread(port=26000)
self.session_filename = session_filename
self.skip = skip
self.sleep_time = sleep_time
Expand All @@ -165,6 +164,8 @@ def __init__(self, session_filename=None, skip=0, sleep_time=1.0, log_level=logg
self.crash_threshold = crash_threshold
self.restart_sleep_time = restart_sleep_time

self.web_interface_thread = self.build_webapp_thread(port=self.web_port)

# Initialize logger
self.logger = logging.getLogger("Sulley_logger")
self.logger.setLevel(log_level)
Expand Down