Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Catch more exceptions for rar errors and update Mutation stuff mod do…
Browse files Browse the repository at this point in the history
…wnload link
  • Loading branch information
remyroy committed Nov 17, 2016
1 parent 4d669fa commit 6a9149d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cddagl/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -4325,7 +4325,7 @@ def install_new(self):
test_method = 'testzip'
elif self.downloaded_file.lower().endswith('.rar'):
archive_class = rarfile.RarFile
archive_exception = rarfile.BadRarFile
archive_exception = rarfile.Error
test_method = 'testrar'

try:
Expand Down Expand Up @@ -6689,7 +6689,7 @@ def install_new(self):
test_method = 'testzip'
elif self.downloaded_file.lower().endswith('.rar'):
archive_class = rarfile.RarFile
archive_exception = rarfile.BadRarFile
archive_exception = rarfile.Error
test_method = 'testrar'

try:
Expand Down Expand Up @@ -6839,7 +6839,7 @@ def download_http_finished(self):
test_method = 'testzip'
elif self.downloaded_file.lower().endswith('.rar'):
archive_class = rarfile.RarFile
archive_exception = rarfile.BadRarFile
archive_exception = rarfile.Error
test_method = 'testrar'

try:
Expand Down
4 changes: 2 additions & 2 deletions data/mods.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@
"description": "Changes and rebalances mutations",
"category": "mutations",
"author": "Peeved Penguin",
"size": 24062,
"url": "https://www.dropbox.com/s/mtjwfh0or5tqegb/Mutation%20changes.rar?dl=1",
"size": 27453,
"url": "https://www.dropbox.com/s/5zpxoppmorlqc1t/Mutation%20changes.rar?dl=1",
"homepage": "http://smf.cataclysmdda.com/index.php?topic=13092.0"
},
{
Expand Down

0 comments on commit 6a9149d

Please sign in to comment.