[Dicson] Fix call to history manager
This commit is contained in:
parent
90c653b83a
commit
ad0bb43793
|
@ -351,7 +351,7 @@ class ConnectionBytestream:
|
||||||
file_props['hash'] = hash_id
|
file_props['hash'] = hash_id
|
||||||
return
|
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
|
''' cb, when there is an error establishing BS connection, or
|
||||||
when connection is rejected'''
|
when connection is rejected'''
|
||||||
if not self.connection or self.connected < 2:
|
if not self.connection or self.connected < 2:
|
||||||
|
|
|
@ -2396,7 +2396,7 @@ class RosterWindow:
|
||||||
else: # user is running svn
|
else: # user is running svn
|
||||||
helpers.exec_command('%s history_manager.py' % sys.executable)
|
helpers.exec_command('%s history_manager.py' % sys.executable)
|
||||||
else: # Unix user
|
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):
|
def on_info(self, widget, contact, account):
|
||||||
'''Call vcard_information_window class to display contact's information'''
|
'''Call vcard_information_window class to display contact's information'''
|
||||||
|
|
Loading…
Reference in New Issue