Skip to content

Commit

Permalink
Now with a overly simple GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico264 authored Aug 9, 2017
1 parent 14eb19a commit e98f1c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions download_months.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
# -*- coding: utf-8 -*-

import argparse
import tkinter.filedialog

import beautifulscraper as bs
import zipfile
import os

parser = argparse.ArgumentParser(description='Download latest month tracks')

parser.add_argument('rvgl_path', type=str, help='Path where Re-Volt/RVGL is located.')
parser.add_argument('--path', type=str, help='Path where Re-Volt/RVGL is located.')

args = parser.parse_args()

rvgl_dir = args.rvgl_path
rvgl_dir = args.path if args.path else tkinter.filedialog.askdirectory()

os.chdir(rvgl_dir)

Expand Down

0 comments on commit e98f1c2

Please sign in to comment.