This website works better with JavaScript.
Home
Explore
Help
Sign In
JustAnotherArchivist
/
little-things
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix confusing output for skipped lines
master
JustAnotherArchivist
1 year ago
parent
3fca23c0a0
commit
725db7d05d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
sum-sizes
+ 1
- 1
sum-sizes
View File
@@ -44,7 +44,7 @@ units = {
}
sum = 0
for line in sys.stdin:
origLine = line
origLine = line
.rstrip('\r\n')
line = re.sub(r'\s+', '', line.strip())
line = re.sub(r'([a-zA-Z])', r' \1', line, count = 1)
if ' ' in line:
Write
Preview
Loading…
Cancel
Save