aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home.legacy/conf/firefox/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/conf/firefox/scripts')
-rwxr-xr-xmodules/home.legacy/conf/firefox/scripts/unzip_mozlz4.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/home.legacy/conf/firefox/scripts/unzip_mozlz4.py b/modules/home.legacy/conf/firefox/scripts/unzip_mozlz4.py
index 9a2348bf..71e4e6bc 100755
--- a/modules/home.legacy/conf/firefox/scripts/unzip_mozlz4.py
+++ b/modules/home.legacy/conf/firefox/scripts/unzip_mozlz4.py
@@ -31,7 +31,8 @@ def main(args):
text = mozlz4_to_text(filepath_in)
with open(filepath_out, "wb") as outfile:
outfile.write(text)
- print("Wrote decompressed text to {}".format(filepath_out))
+ if filepath_out != "/dev/stdout":
+ print("Wrote decompressed text to {}".format(filepath_out))
if __name__ == "__main__":