diff options
| author | Meco Man <[email protected]> | 2021-03-16 17:06:03 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-03-16 17:06:03 +0800 |
| commit | b138082fcc3f21f441e200fedff65e6dcadcf0bb (patch) | |
| tree | c364aba11463544792284cf4351c96289e8eff5d /tools | |
| parent | c3ffe18688a3696a486855ae98002714546bd836 (diff) | |
[python3] 部分脚本从python2语法升级到python3
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mkromfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkromfs.py b/tools/mkromfs.py index 5371106987..120053be40 100644 --- a/tools/mkromfs.py +++ b/tools/mkromfs.py @@ -85,7 +85,7 @@ class Folder(object): # TODO: take care of the unicode names for ent in os.listdir(u'.'): if os.path.isdir(ent): - cwd = os.getcwdu() + cwd = os.getcwd() d = Folder(ent) # depth-first os.chdir(os.path.join(cwd, ent)) |
