ソースを参照

Merge branch 'develop'

tags/v0.1.1^0
Ben Kurtovic 13年前
コミット
7c542db8a3
2個のファイルの変更7行の追加4行の削除
  1. +3
    -3
      README.md
  2. +4
    -1
      musicquizzer.py

+ 3
- 3
README.md ファイルの表示

@@ -14,7 +14,7 @@ From Terminal (`/Applications/Utiliies/Terminal`), do:
sudo port install py26-game

Next,
[download MusicQuizzer](https://github.com/earwig/music-quizzer/tarball/v0.1)
[download MusicQuizzer](https://github.com/earwig/music-quizzer/tarball/v0.1.1)
and uncompress it. Move the folder wherever you want (keep its contents
intact!) and double-click on `mac_osx.sh` to use the quizzer.

@@ -29,7 +29,7 @@ Next, download and install pygame from
[here](http://pygame.org/ftp/pygame-1.9.2a0.win32-py2.7.msi).

Finally,
[download MusicQuizzer](https://github.com/earwig/music-quizzer/zipball/v0.1)
[download MusicQuizzer](https://github.com/earwig/music-quizzer/zipball/v0.1.1)
and extract it wherever you want. To use, simply double-click on the
`musicquizzer` file inside (do not move or delete any of the other files).

@@ -42,7 +42,7 @@ pygame and tk with:
sudo apt-get install python-pygame python-tk

Then,
[download MusicQuizzer](https://github.com/earwig/music-quizzer/tarball/v0.1)
[download MusicQuizzer](https://github.com/earwig/music-quizzer/tarball/v0.1.1)
and execute the program with `python musicquizzer.py` from your terminal.

# Usage


+ 4
- 1
musicquizzer.py ファイルの表示

@@ -22,7 +22,7 @@ from urllib import urlretrieve
__author__ = "Ben Kurtovic"
__copyright__ = "Copyright (c) 2011 by Ben Kurtovic"
__license__ = "MIT License"
__version__ = "0.1"
__version__ = "0.1.1"
__email__ = "ben.kurtovic@verizon.net"

config_filename = "config.cfg"
@@ -366,6 +366,9 @@ def do_pieces_download(pieces, status, dl_button, status_label, window):
global download_complete
dl_button.configure(state=DISABLED)
if not os.path.exists(piece_dir):
os.mkdir(piece_dir)
counter = 1
for piece in pieces:
url = config.get("general", "base_url") + config.get(piece, "url")


読み込み中…
キャンセル
保存