mirror of
https://github.com/evennia/evennia.git
synced 2026-04-18 06:09:06 +02:00
Update alerts reported by LGTM
This commit is contained in:
parent
ce73bf1a93
commit
b3c6e9d2cc
10 changed files with 42 additions and 10 deletions
|
|
@ -173,7 +173,6 @@ def rename_in_tree(path, in_list, out_list, excl_list, fileend_list, is_interact
|
|||
if new_root != root:
|
||||
inp = raw_input(_green("Dir Rename %s\n -> %s\n Y/[N]? > " % (root, new_root)))
|
||||
if inp.upper() == 'Y':
|
||||
new_full_path = os.path.join(root, new_file)
|
||||
try:
|
||||
os.rename(root, new_root)
|
||||
except OSError as err:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue