From 139370d888bf411cc28d58896f58fd1cc9bd8121 Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Fri, 27 Dec 2019 13:56:37 +0300 Subject: [PATCH] Correct SyntaxWarning - Python3.8 --- src/sugar3/activity/activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar3/activity/activity.py b/src/sugar3/activity/activity.py index 3ad4a44f..a459d642 100644 --- a/src/sugar3/activity/activity.py +++ b/src/sugar3/activity/activity.py @@ -1342,7 +1342,7 @@ class Activity(Window, Gtk.Container): xid = window.get_window().get_xid() SugarExt.wm_set_bundle_id(xid, self.get_bundle_id()) SugarExt.wm_set_activity_id(xid, str(self._activity_id)) - elif display_name is 'Broadway': + elif display_name == 'Broadway': # GTK3's HTML5 backend # This is needed so that the window takes the whole browser window self.maximize()