# HG changeset patch # User HackEso # Date 1523527034 -3600 # Node ID 04a136d6150e3e551df15b91250e84dc959082cb # Parent 5e27018ad3a955852e200e42f3bb9a9e08557d49 fetch bin/edit https://hack.esolangs.org/get/bin/edit diff -r 5e27018ad3a9 -r 04a136d6150e bin/edit --- a/bin/edit Thu Apr 12 10:21:55 2018 +0100 +++ b/bin/edit Thu Apr 12 10:57:14 2018 +0100 @@ -3,10 +3,10 @@ import sys, os.path, re, urllib if len(sys.argv) < 2: - sys.exit('https://hackego.esolangs.org/edit/') + sys.exit('https://hack.esolangs.org/edit/') f = os.path.realpath(sys.argv[1]) f = re.sub(r"^/+hackenv/", "", f) if re.match(r"/|\.hg(?:/|ignore$|$)",f): sys.exit("File is not editable.") -print 'https://hackego.esolangs.org/edit/' + urllib.quote(f) +print 'https://hack.esolangs.org/edit/' + urllib.quote(f)