Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions weetext.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def build_sms_url():
else:
time.sleep(1)
""")
os.chmod(weechat_dir + '/python/wtrecv.py', 0755)
os.chmod(weechat_dir + '/python/wtrecv.py', 0o755)

with open(weechat_dir + '/python/wtsend.py', 'w') as f:
f.write("""#!/usr/bin/env python2
Expand Down Expand Up @@ -604,7 +604,7 @@ def build_request_body(payload, number, new_number=False):

os.remove(user_path + '/.weechat/.gvlock.' + msg_id)
""")
os.chmod(weechat_dir + '/python/wtsend.py', 0755)
os.chmod(weechat_dir + '/python/wtsend.py', 0o755)

# remove any old .gvlock.* files
for gvlockfile in glob.glob(weechat_dir + '/.gvlock.*'):
Expand Down