Commit 38c78ed6 by sikang

update script

parent 8112452d
......@@ -13,4 +13,4 @@ for root, dirs, files in os.walk("/Users/connor/Documents/App_GP/"):
if dir_name.startswith(sys.argv[1]+"_"):
if (file.endswith(".png") or file.endswith(".jpg")) and "_mark" not in file:
path = os.path.join(directory, file)
os.system("./image_mark.py "+ path + " " + sys.argv[2].split(".")[0])
\ No newline at end of file
os.system("./image_mark.py "+ path + " " + sys.argv[2].split("_")[0])
\ No newline at end of file
......@@ -133,7 +133,7 @@ elif (($commod == '17'))
then
. ../../gradle.properties
chmod a+x mark_screen_img.py
./mark_screen_img.py "${corp_id}" "${app_id}"
./mark_screen_img.py "${corp_id}" "${signing_keyAlias}"
elif (($commod == '18'))
then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment