| @@ -1,7 +1,7 @@ | |||||
| <?xml version="1.0" encoding="iso-8859-1"?> | <?xml version="1.0" encoding="iso-8859-1"?> | ||||
| <!-- Generator: Adobe Illustrator 26.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | <!-- Generator: Adobe Illustrator 26.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | ||||
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | ||||
| viewBox="0 0 280.287 487.369" style="enable-background:new 0 0 280.287 487.369;" xml:space="preserve"> | |||||
| width="280.287" height="487.369" viewBox="0 0 280.287 487.369" style="enable-background:new 0 0 280.287 487.369;" xml:space="preserve"> | |||||
| <g id="Black_xA0_Image_00000042694653589728961730000000177271417503199385_"> | <g id="Black_xA0_Image_00000042694653589728961730000000177271417503199385_"> | ||||
| </g> | </g> | ||||
| <g id="Dark_xA0_Image_00000041282977986677487520000001019131458612512653_"> | <g id="Dark_xA0_Image_00000041282977986677487520000001019131458612512653_"> | ||||
| @@ -1,7 +1,7 @@ | |||||
| <?xml version="1.0" encoding="iso-8859-1"?> | <?xml version="1.0" encoding="iso-8859-1"?> | ||||
| <!-- Generator: Adobe Illustrator 26.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | <!-- Generator: Adobe Illustrator 26.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | ||||
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | ||||
| viewBox="0 0 239.944 489.781" style="enable-background:new 0 0 239.944 489.781;" xml:space="preserve"> | |||||
| width="239.944" height="489.781" viewBox="0 0 239.944 489.781" style="enable-background:new 0 0 239.944 489.781;" xml:space="preserve"> | |||||
| <g id="Black_xA0_Image_00000000916894396751404810000002663046857756802693_"> | <g id="Black_xA0_Image_00000000916894396751404810000002663046857756802693_"> | ||||
| </g> | </g> | ||||
| <g id="Dark_xA0_Image_00000033348002934768050840000018316633481983178671_"> | <g id="Dark_xA0_Image_00000033348002934768050840000018316633481983178671_"> | ||||
| @@ -1,3 +1,5 @@ | |||||
| #!python3 | |||||
| import importlib | import importlib | ||||
| add_bounds = importlib.import_module("add-bounds").add_bounds | add_bounds = importlib.import_module("add-bounds").add_bounds | ||||
| @@ -6,6 +8,9 @@ import sys | |||||
| import os | import os | ||||
| path = sys.argv[1] | path = sys.argv[1] | ||||
| if "media/" not in path: | |||||
| path = "media/characters/" + path | |||||
| os.makedirs(path, exist_ok=True) | os.makedirs(path, exist_ok=True) | ||||
| add_bounds(sys.argv[1]) | |||||
| add_bounds(path) | |||||