Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Dec 5, 2023
1 parent f5e2af7 commit ce13200
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions py/generateSitemapIndex.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Modified from MirahezeMagic

from datetime import datetime
import requests
import xmltodict
Expand All @@ -11,13 +9,13 @@
parser = argparse.ArgumentParser(
description='Generate WikiTide sitemap index of all public wikis, and upload the object to the "root" container in Swift')
parser.add_argument(
'-A', '--auth', dest='auth', default=os.environ.get('ST_AUTH', None),
'-A', '--auth', dest='auth', default=os.environ.get('ST_AUTH'),
help='URL for obtaining an auth token for Swift (ST_AUTH)')
parser.add_argument(
'-U', '--user', dest='user', default=os.environ.get('ST_USER', None),
'-U', '--user', dest='user', default=os.environ.get('ST_USER'),
help='User name for obtaining an auth token for Swift (ST_USER)')
parser.add_argument(
'-K', '--key', dest='key', default=os.environ.get('ST_KEY', None),
'-K', '--key', dest='key', default=os.environ.get('ST_KEY'),
help='Key for obtaining an auth token for Swift (ST_KEY)')
args = parser.parse_args()

Expand Down

0 comments on commit ce13200

Please sign in to comment.