summaryrefslogtreecommitdiff
path: root/data/convert-icon
diff options
context:
space:
mode:
Diffstat (limited to 'data/convert-icon')
-rwxr-xr-xdata/convert-icon2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/convert-icon b/data/convert-icon
index 16412378..d79648b2 100755
--- a/data/convert-icon
+++ b/data/convert-icon
@@ -41,7 +41,7 @@ def convert_image(filename, output_filename):
size = im.size
- struct_name = os.path.basename(filename)
+ struct_name = os.path.basename(output_filename)
struct_name = re.sub(re.compile("\\..*$"), "", struct_name)
struct_name = re.sub(re.compile("\W"), "_", struct_name)