summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2018-09-25 23:07:52 +0200
committerfalkTX <falktx@gmail.com>2018-09-25 23:07:52 +0200
commit659ce2e277f796227b48c3947f9fa53e44c335af (patch)
tree8003ba7ad581c20e0fea0a7587ce294ea464e2a6
parent5f2d86a47e8b7d1227be520700bdb69c75f8d237 (diff)
Fix png2rgba.py to work with folders with dashes
-rwxr-xr-xutils/png2rgba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/png2rgba.py b/utils/png2rgba.py
index ff000667..3575db7a 100755
--- a/utils/png2rgba.py
+++ b/utils/png2rgba.py
@@ -155,7 +155,7 @@ if __name__ == '__main__':
print("Usage: %s <namespace> <artwork-folder>" % sys.argv[0])
quit()
- namespace = sys.argv[1]
+ namespace = sys.argv[1].replace("-","_")
artFolder = sys.argv[2]
if not os.path.exists(artFolder):