소스 검색

We now no longer delete downloaded images

david 5 년 전
부모
커밋
d4b3f1599e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      dataLoad.py

+ 2 - 2
dataLoad.py

@@ -169,8 +169,8 @@ def run(difficult):
                 f.write(f'{i_s}\n')
 
         print(f"Image saved to '{DIR}/{difficult}_{x}.txt' in byte string")
-        os.remove(f'{fname}')
-        print(f"File '{fname}' automatically removed")
+        # os.remove(f'{fname}')  # Grr No bad bean, keep file for error checking
+        # print(f"File '{fname}' automatically removed")
 
 if (DOWNLOAD == True):
     print("Downloading s0urce.io Words")