Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into tarball-safe
Browse files Browse the repository at this point in the history
  • Loading branch information
WaxyMocha committed Feb 6, 2021
2 parents 5d2a1bd + 642ecb1 commit d2df5c4
Show file tree
Hide file tree
Showing 7 changed files with 546 additions and 7 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ graft WoeUSB/data
graft WoeUSB/locale
graft miscellaneous
include README.md
include WoeUSB/woeusbgui
3 changes: 2 additions & 1 deletion WoeUSB/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import threading
import subprocess
import urllib.request
import urllib.error
from datetime import datetime

import WoeUSB.utils as utils
Expand Down Expand Up @@ -373,7 +374,7 @@ def install_uefi_ntfs_support_partition(uefi_ntfs_partition, download_directory)

try:
file = urllib.request.urlretrieve("https://github.com/pbatard/rufus/raw/master/res/uefi/", "uefi-ntfs.img")[0]
except urllib.request.ContentTooShortError:
except (urllib.error.ContentTooShortError, urllib.error.HTTPError, urllib.error.URLError):
utils.print_with_color(
_("Warning: Unable to download UEFI:NTFS partition image from GitHub, installation skipped. Target device might not be bootable if the UEFI firmware doesn't support NTFS filesystem."), "yellow")
return 1
Expand Down
Binary file added WoeUSB/locale/pt_BR/LC_MESSAGES/woeusb.mo
Binary file not shown.
Loading

0 comments on commit d2df5c4

Please sign in to comment.