Sfoglia il codice sorgente

remove print statments

Getty Ritter 2 anni fa
parent
commit
26342a2d5e
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      main.py

+ 0 - 3
main.py

@@ -72,7 +72,6 @@ class Path:
         tgt = f'{os.path.join(*paths)}/'
         for path in sys.argv[2:]:
             if tgt in path:
-                print(f'{tgt} in {path}')
                 chunks = path.split('/')
                 idx = chunks.index(paths[-1])
                 stuff.append(chunks[idx +1])
@@ -195,7 +194,6 @@ def main():
         # it in the categories list first
         category_metadata = [c for c in categories if c['slug'] == slug]
         if not category_metadata:
-            print(f'skipping {slug}')
             continue
 
         with Path.write('category', slug, 'index.html') as f:
@@ -213,7 +211,6 @@ def main():
     shutil.copy('static/main.css', Path.out('static', 'main.css'))
     shutil.copy('static/icon.png', Path.out('static', 'icon.png'))
 
-    print(f'writing to {out_file}')
     shutil.make_archive('output', 'zip', Path.OUTDIR.name)
     shutil.move('output.zip', out_file)
     Path.OUTDIR.cleanup()