Skip to content

Commit b135380

Browse files
committed
Merge branch 'master' of github.com:giampaolo/psutil
2 parents e8ee870 + 83bb5f8 commit b135380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psutil/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2075,7 +2075,7 @@ def disk_io_counters(perdisk=False, nowrap=True):
20752075
rawdict[disk] = nt(*fields)
20762076
return rawdict
20772077
else:
2078-
return nt(*[sum(x) for x in zip(*rawdict.values())])
2078+
return nt(*(sum(x) for x in zip(*rawdict.values())))
20792079

20802080

20812081
disk_io_counters.cache_clear = functools.partial(

0 commit comments

Comments
 (0)