X-Git-Url: https://v.licheni.net/stack/code/dboxswitch.git/blobdiff_plain/d12658f79e38f8a8b3c42cbaa97b76cfd63f25e7..ee451b0ae08e635da522f3381b2a34d4e1c8b594:/profhandler.py diff --git a/profhandler.py b/profhandler.py index d0fbb17..18dda25 100755 --- a/profhandler.py +++ b/profhandler.py @@ -160,6 +160,8 @@ class ProfHandler(): def stopDropbox(self): """ Stop dropbox Daemon """ pl = platform.system() + if pl == 'Linux': + os.system("dropbox stop") if pl in ('Linux','Darwin'): pidfile = os.path.expanduser("~/.dropbox/dropbox.pid") try: