This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json, yaml, urllib.request, io | |
| io.open("yamllist.txt","w").write( | |
| yaml.dump( | |
| json.loads( | |
| urllib.request.urlopen("http://servers.minetest.net/list") | |
| .read().decode("utf-8") | |
| ) | |
| ) | |
| ).close() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/builtin/deprecated.lua b/builtin/deprecated.lua | |
| index 333f64c..4251549 100644 | |
| --- a/builtin/deprecated.lua | |
| +++ b/builtin/deprecated.lua | |
| @@ -46,3 +46,64 @@ setmetatable(minetest.env, { | |
| return rawget(table, key) | |
| end | |
| }) | |
| + | |
| +-- |
NewerOlder