Changeset 7415989 for skype/skyped.py


Ignore:
Timestamp:
2008-09-06T02:59:03Z (16 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
89949c7
Parents:
720ae58
Message:

ignore error if not yet started skyped fails to shut down

at this points skyped runs fine for me on osx (plugin is not yet tested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    r720ae58 r7415989  
    4242                print_exception(type, value, tb)
    4343        gobject.MainLoop().quit()
    44         skype.skype.Client.Shutdown()
     44        # shut down client if it's running
     45        try:
     46                skype.skype.Client.Shutdown()
     47        except NameError:
     48                pass
    4549        sys.exit("Exiting.")
    4650
Note: See TracChangeset for help on using the changeset viewer.