summaryrefslogtreecommitdiff
path: root/build.py3
diff options
context:
space:
mode:
Diffstat (limited to 'build.py3')
-rwxr-xr-xbuild.py35
1 files changed, 2 insertions, 3 deletions
diff --git a/build.py3 b/build.py3
index 03c4cb5..8adc039 100755
--- a/build.py3
+++ b/build.py3
@@ -1,11 +1,11 @@
#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-import brotli
import gzip
import os
import shutil
+import brotli
+
def clean_target():
if os.path.exists('target'):
@@ -37,7 +37,6 @@ def compress_files(path: str):
compress_files(file)
return
- base, ext = os.path.splitext(file)
with open(file, 'rb') as f_in:
data = f_in.read()
with gzip.open(f"{file}.gz", 'wb') as f_out: