diff --git a/templates/guild/convert.py b/templates/guild/convert.py old mode 100644 new mode 100755 index 05b6a0020..429617ff2 --- a/templates/guild/convert.py +++ b/templates/guild/convert.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # This script generates the various files for a guild, and installs them @@ -64,4 +64,4 @@ for i in filelist: if Ctl==1: secondtofile=open('../../'+ToFolder+"/"+i,'w') secondtofile.write(filecontents) - secondtofile.close() \ No newline at end of file + secondtofile.close() diff --git a/templates/guild/convertall.py b/templates/guild/convertall.py index ba0b4c0f0..307f7b832 100644 --- a/templates/guild/convertall.py +++ b/templates/guild/convertall.py @@ -14,5 +14,5 @@ a=t.read() t.close() b=a.split('\n') for c in b: - print c + local_copy + print(c + local_copy) os.system('./convert.py '+c + local_copy)