Correct SyntaxWarning - Python3.8

This commit is contained in:
Srevin Saju 2019-12-27 13:56:37 +03:00 committed by James Cameron
parent 88adb38a42
commit 139370d888

View File

@ -1342,7 +1342,7 @@ class Activity(Window, Gtk.Container):
xid = window.get_window().get_xid() xid = window.get_window().get_xid()
SugarExt.wm_set_bundle_id(xid, self.get_bundle_id()) SugarExt.wm_set_bundle_id(xid, self.get_bundle_id())
SugarExt.wm_set_activity_id(xid, str(self._activity_id)) SugarExt.wm_set_activity_id(xid, str(self._activity_id))
elif display_name is 'Broadway': elif display_name == 'Broadway':
# GTK3's HTML5 backend # GTK3's HTML5 backend
# This is needed so that the window takes the whole browser window # This is needed so that the window takes the whole browser window
self.maximize() self.maximize()