v.licheni.net
/
stack
/
code
/
dboxswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get dropbox directory in an os dependant way in ProfHandler
[stack/code/dboxswitch.git]
/
main.py
diff --git
a/main.py
b/main.py
index
2c187cb
..
58ac693
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-33,6
+33,9
@@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
"""
+
+import signal
+
from profhandler import ProfHandler
from gui import Gui
from PyQt4 import QtGui
from profhandler import ProfHandler
from gui import Gui
from PyQt4 import QtGui
@@
-40,6
+43,8
@@
from PyQt4 import QtGui
from settings import appconf
if __name__ == '__main__':
from settings import appconf
if __name__ == '__main__':
+ #makes the application quit upon sigint
+ signal.signal(signal.SIGINT, signal.SIG_DFL)
#Application init
prManager = ProfHandler()
#Application init
prManager = ProfHandler()