Changeset 1a0b734 for protocols/skype


Ignore:
Timestamp:
2012-07-20T20:32:53Z (12 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
5ffa4f7
Parents:
7d2ce9a
Message:

#979 skyped: tolerate errors from skype during startup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/skype/skyped.py

    r7d2ce9a r1a0b734  
    120120                c = skype.skype.Command("PING", Block=True)
    121121                skype.skype.SendCommand(c)
    122         except Skype4Py.SkypeAPIError, s:
     122        except (Skype4Py.SkypeAPIError, AttributeError), s:
    123123                dprint("Warning, pinging Skype failed (%s)." % (s))
     124                time.sleep(1)
    124125        return True
    125126
Note: See TracChangeset for help on using the changeset viewer.