diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 2eeff5b2c..e6bb1deb7 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -351,7 +351,7 @@ class ConnectionBytestream: file_props['hash'] = hash_id return - def _connect_error(self, to, _id, sid, code = 404): + def _connect_error(self, to, _id, sid, code=404): ''' cb, when there is an error establishing BS connection, or when connection is rejected''' if not self.connection or self.connected < 2: diff --git a/src/roster_window.py b/src/roster_window.py index 63d334571..2d1fa4e4a 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2396,7 +2396,7 @@ class RosterWindow: else: # user is running svn helpers.exec_command('%s history_manager.py' % sys.executable) else: # Unix user - helpers.exec_command('%s history_manager.py &' % sys.executable) + helpers.exec_command('%s history_manager.py' % sys.executable) def on_info(self, widget, contact, account): '''Call vcard_information_window class to display contact's information'''