summarylogtreecommitdiffstats
path: root/charm
diff options
context:
space:
mode:
authorXavierCLL2019-03-29 13:32:03 -0500
committerXavierCLL2019-03-29 13:32:03 -0500
commit9fe7a7af24dd5d15fde1b3b19c8efa1e0ac9f52e (patch)
tree3f44e71ecfd99055e14eaadb4e7cb0a9dedd8b4b /charm
parent8645dacf29582be413277b539f1a6213c1472a0c (diff)
downloadaur-9fe7a7af24dd5d15fde1b3b19c8efa1e0ac9f52e.tar.gz
Updated to 2019.1.0
Diffstat (limited to 'charm')
-rw-r--r--charm6
1 files changed, 3 insertions, 3 deletions
diff --git a/charm b/charm
index 0fc448ea82f..109a7b78187 100644
--- a/charm
+++ b/charm
@@ -10,8 +10,8 @@ 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'~/.PyCharm2018.3/config'
-SYSTEM_PATH = u'~/.PyCharm2018.3/system'
+CONFIG_PATH = u'~/.PyCharm2019.1/config'
+SYSTEM_PATH = u'~/.PyCharm2019.1/system'
def print_usage(cmd):
@@ -86,7 +86,7 @@ def try_activate_instance(args):
if found:
cmd = 'activate ' + token + '\0' + os.getcwd() + '\0' + '\0'.join(args)
- if sys.version_info.major >= 3: cmd = cmd.encode('utf-8')
+ if sys.version_info[0] >= 3: cmd = cmd.encode('utf-8')
encoded = struct.pack('>h', len(cmd)) + cmd
s.send(encoded)
time.sleep(0.5) # don't close the socket immediately