Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
c28e50a103 |
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ for x in myresult:
|
||||||
filename = filename_regex.findall(x[0])[0]
|
filename = filename_regex.findall(x[0])[0]
|
||||||
|
|
||||||
f = open("index.gmi", "a")
|
f = open("index.gmi", "a")
|
||||||
f.write("=> %s/%s.gmi %s - %s\n" % (path, filename, path.replace("/","-"), x[1]))
|
f.write("=> %s/%s.gmi %s - %s\n" % (path, quote(quote(filename)), path.replace("/","-"), x[1]))
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue