From dd373be56deaaaed510cb0adb92a2389df09a484 Mon Sep 17 00:00:00 2001 From: Tiger Zhang Date: Thu, 30 Jun 2016 10:00:51 +0800 Subject: [PATCH] modify comments chinese comments cause error when python STTinyPNG-Python.py --- STTinyPNG-Python.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/STTinyPNG-Python.py b/STTinyPNG-Python.py index 7865eb9..1bf9288 100644 --- a/STTinyPNG-Python.py +++ b/STTinyPNG-Python.py @@ -3,8 +3,8 @@ import os.path tinify.key = "your AppKey" # AppKey -fromFilePath = "/Users/tangjr/Desktop/test1" # 源路径 -toFilePath = "/Users/tangjr/Desktop/test2" # 输出路径 +fromFilePath = "/Users/tangjr/Desktop/test1" # sourcePath +toFilePath = "/Users/tangjr/Desktop/test2" # targetPath for root, dirs, files in os.walk(fromFilePath): for name in files: