Update mw.py

This commit is contained in:
midoks 2022-09-20 00:22:11 +08:00
parent 5a93b07968
commit 2eeef4d8bd
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ def getNumLines(path, num, p=1):
break
fp.close()
except Exception as e:
return ''
return str(e)
return "\n".join(data)