Skip to content

Commit

Permalink
enable HTTPS for replay uploads by default (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
dansan committed Sep 28, 2017
1 parent 4c330ee commit f6d48f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions srs/replay_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Copyright (C) 2016 Daniel Troeder (daniel #at# admin-box #dot# com)
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.

#
# example cmdline call:
Expand All @@ -26,12 +26,12 @@


def main(argv=None):
XMLRPC_URL = "http://replays.springrts.com/xmlrpc/"
XMLRPC_URL = "https://replays.springrts.com/xmlrpc/"

parser = argparse.ArgumentParser(description="Upload a spring demo file to the replays site.",
epilog="Please set XMLRPC_USER and XMLRPC_PASSWORD in your OS environment to a "
"lobby accounts credentials. XMLRPC_URL can also be set in your environment"
", use 'http://replays-test.springrts.com/xmlrpc/' for upload testing "
", use 'https://replays-test.springrts.com/xmlrpc/' for upload testing "
"purposes.")
parser.add_argument("-d", "--duration", help="game duration in seconds (SPADS: %%gameDuration)", type=int,
default=9999)
Expand Down

0 comments on commit f6d48f5

Please sign in to comment.