Browse Source

pretty big bugfix in piece downloading

tags/v0.1.1^2
Ben Kurtovic 13 years ago
parent
commit
ead6fb17f0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      musicquizzer.py

+ 3
- 0
musicquizzer.py View File

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


Loading…
Cancel
Save