raiseaiohttp.web.HTTPConflict(text="Could not load topology {}: {}".format(path,str(e)))
@ -98,7 +98,7 @@ def load_topology(path):
# first we backup the file
shutil.copy(path,path+".backup")
topo=_convert_1_3_later(topo,path)
withopen(path,"w+") asf:
withopen(path,"w+", encoding="utf-8") asf:
json.dump(topo,f)
eliftopo["revision"]>GNS3_FILE_FORMAT_REVISION:
raiseaiohttp.web.HTTPConflict(text="This project is designed for a more recent version of GNS3 please update GNS3 to version {} or later".format(topo["version"]))