diff options
author | XavierCLL | 2016-07-21 11:10:53 -0500 |
---|---|---|
committer | XavierCLL | 2016-07-21 11:10:53 -0500 |
commit | eb2a39f5ae122258f375b4fa4be8eb68dd78e910 (patch) | |
tree | c73cf0568bb37808574bbe738e3f867b4cb638d6 /charm | |
parent | 00050964ad020697ecd954fd195c288ad5912912 (diff) | |
download | aur-eb2a39f5ae122258f375b4fa4be8eb68dd78e910.tar.gz |
Updated charm
Diffstat (limited to 'charm')
-rwxr-xr-x | charm | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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": |