scripts: Tweaked openio comment

Dang, this touched like every single script.
This commit is contained in:
Christopher Haster
2025-04-12 15:39:13 -05:00
parent 57c77b1b72
commit 71930a5c01
26 changed files with 26 additions and 26 deletions

View File

@@ -132,8 +132,8 @@ def si2(x, w=5):
s = s.rstrip('.')
return '%s%s%s' % ('-' if x < 0 else '', s, SI2_PREFIXES[p])
# open with '-' for stdin/stdout
def openio(path, mode='r', buffering=-1):
# allow '-' for stdin/stdout
import os
if path == '-':
if 'r' in mode: