Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Nov 17, 2024
1 parent f0b234d commit 628137f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wikiteam3/dumpgenerator/dump/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def __init__(params=None):
if other.resume:
print("Loading config file to resume...")
config = load_config(config=config, config_filename=config_filename)
else:
if not other.force and any_recent_ia_item_exists(config, days=365):
elif not other.force:
if any_recent_ia_item_exists(config, days=365):
print("A dump of this wiki was uploaded to IA in the last 365 days.")
print("If you want to generate a new dump, use --force")
sys.exit(88)
Expand Down

0 comments on commit 628137f

Please sign in to comment.