summarylogtreecommitdiffstats
path: root/charm
diff options
context:
space:
mode:
authorXavierCLL2016-07-21 11:10:53 -0500
committerXavierCLL2016-07-21 11:10:53 -0500
commiteb2a39f5ae122258f375b4fa4be8eb68dd78e910 (patch)
treec73cf0568bb37808574bbe738e3f867b4cb638d6 /charm
parent00050964ad020697ecd954fd195c288ad5912912 (diff)
downloadaur-eb2a39f5ae122258f375b4fa4be8eb68dd78e910.tar.gz
Updated charm
Diffstat (limited to 'charm')
-rwxr-xr-xcharm8
1 files changed, 4 insertions, 4 deletions
diff --git a/charm b/charm
index 77ead9bb8ec1..e360842ccf78 100755
--- a/charm
+++ b/charm
@@ -1,17 +1,17 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-import os
import socket
import struct
import sys
+import os
import time
# see com.intellij.idea.SocketLock for the server side of this interface
RUN_PATH = u'/opt/pycharm-professional/bin/pycharm.sh'
-CONFIG_PATH = u'~/.PyCharm2016.1/config'
-SYSTEM_PATH = u'~/.PyCharm2016.1/system'
+CONFIG_PATH = u'~/.PyCharm2016.2/config'
+SYSTEM_PATH = u'~/.PyCharm2016.2/system'
args = []
skip_next = False
@@ -92,7 +92,7 @@ if os.path.exists(port_path) and os.path.exists(token_path):
launch_with_port(port, token)
except:
type, value, traceback = sys.exc_info()
- print('No IDE instance has been found. New one will be started.') # todo error
+ print('Cannot activate a running instance: ' + str(value))
else:
print('No IDE instance has been found. New one will be started.')
if sys.platform == "darwin":