diff --git a/s2e_env/commands/recipe.py b/s2e_env/commands/recipe.py index b3654d4..cc7c9de 100644 --- a/s2e_env/commands/recipe.py +++ b/s2e_env/commands/recipe.py @@ -293,6 +293,7 @@ def get_recipe_path(self, recipe_type, arch, platform, name, gp_reg): filename = f'{filename}.rcp' return self.project_path('recipes', filename) + # pylint: disable=too-many-locals def handle(self, *args, **options): logging.getLogger('pwnlib').setLevel('ERROR') diff --git a/s2e_env/server/web_service_interface.py b/s2e_env/server/web_service_interface.py index 06bbede..f60c6ab 100644 --- a/s2e_env/server/web_service_interface.py +++ b/s2e_env/server/web_service_interface.py @@ -44,4 +44,3 @@ def process(data, analysis): if data_type == 'stats': WebServiceInterfacePlugin.handle_stats(analysis, data) - return diff --git a/s2e_env/tui/tui.py b/s2e_env/tui/tui.py index f71fd4a..45c0a67 100644 --- a/s2e_env/tui/tui.py +++ b/s2e_env/tui/tui.py @@ -103,6 +103,9 @@ def set_size(self, w=None, h=None): Width and Height can be set to None to expand the window to the size of the parent container. """ + mw = 0 + mh = 0 + if w is None or h is None: form = self.get_parent() if form is None: