Skip to content
This repository was archived by the owner on Dec 29, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified install_requirements.sh
100644 → 100755
Empty file.
16 changes: 8 additions & 8 deletions rwms_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,14 +543,14 @@ def load_mod_data(cats, db, basedir, modsource):
if args.dry_run:
print_dry_run(modsconfigfile, doc, mod_data_full)
write_modsconfig = False

# ask for confirmation to write the ModsConfig.xml anyway
while True and not args.dry_run:
data = input("Do you REALLY want to write ModsConfig.xml (y/n): ")
if data.lower() in ('y', 'n'):
break
if data.lower() == 'y':
write_modsconfig = True
else:
# ask for confirmation to write the ModsConfig.xml anyway
while True:
data = input("Do you REALLY want to write ModsConfig.xml (y/n): ")
if data.lower() in ('y', 'n'):
break
if data.lower() == 'y':
write_modsconfig = True

if write_modsconfig:
# do backup
Expand Down
Empty file modified rwms_sort.sh
100644 → 100755
Empty file.