From faab35387f57ff2f884624cec72bc255a93a7696 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Mon, 2 May 2022 12:02:59 -0400 Subject: [PATCH] Update Rebecca Pawlson; fix some missing bounds info --- media/characters/gaia/front.svg | 2 +- media/characters/harthos/allusus-front.svg | 2 +- scripts/setup.py | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) mode change 100644 => 100755 scripts/setup.py diff --git a/media/characters/gaia/front.svg b/media/characters/gaia/front.svg index 6da729a8..5d9c0956 100644 --- a/media/characters/gaia/front.svg +++ b/media/characters/gaia/front.svg @@ -1,7 +1,7 @@ + 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"> diff --git a/media/characters/harthos/allusus-front.svg b/media/characters/harthos/allusus-front.svg index 25cfbaa1..4cc04995 100644 --- a/media/characters/harthos/allusus-front.svg +++ b/media/characters/harthos/allusus-front.svg @@ -1,7 +1,7 @@ + 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"> diff --git a/scripts/setup.py b/scripts/setup.py old mode 100644 new mode 100755 index e80d981d..aedebe53 --- a/scripts/setup.py +++ b/scripts/setup.py @@ -1,3 +1,5 @@ +#!python3 + import importlib add_bounds = importlib.import_module("add-bounds").add_bounds @@ -6,6 +8,9 @@ import sys import os path = sys.argv[1] +if "media/" not in path: + path = "media/characters/" + path + os.makedirs(path, exist_ok=True) -add_bounds(sys.argv[1]) \ No newline at end of file +add_bounds(path) \ No newline at end of file