summaryrefslogtreecommitdiff
path: root/tools/editor/icons/SCsub
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-07-28 21:23:05 -0300
committerGeorge Marques <george@gmarqu.es>2016-07-28 21:26:21 -0300
commit3cdb5e0d1fff7a4d4b1dc1dcca4d024192df13d2 (patch)
tree60d73c8aac21b3b7c40fb6b15ff82c87d91f52f4 /tools/editor/icons/SCsub
parent08ba6086be75aac58748417808fed5462608f498 (diff)
Fix editor icons source file generation
Also removes the unused make_icons.py file.
Diffstat (limited to 'tools/editor/icons/SCsub')
-rw-r--r--tools/editor/icons/SCsub5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/editor/icons/SCsub b/tools/editor/icons/SCsub
index f2f5dcca48..bc104294cb 100644
--- a/tools/editor/icons/SCsub
+++ b/tools/editor/icons/SCsub
@@ -37,12 +37,9 @@ def make_editor_icons_action(target, source, env):
pngf.close();
var_str=os.path.basename(x)[:-4]+"_hidpi_png";
-#print("TRY OPEN: "+os.path.dirname(x)+"/2x/"+os.path.basename(x)+"\n")
try:
- pngf = open(os.path.dirname(x)+"/2x/"+os.path.basename(x))
-
- #print(var_str)
+ pngf = open(os.path.dirname(x)+"/2x/"+os.path.basename(x), "rb")
s.write("static const unsigned char "+ var_str +"[]={\n");