Skip to content

Commit

Permalink
Fixed #32
Browse files Browse the repository at this point in the history
  • Loading branch information
ukdtom committed Jul 4, 2017
1 parent bc6174b commit 2bdda44
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Contents/Code/CP_Windows_ISO.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"za" : "Unknown",
"zh" : "Unknown",
"zu" : "Unknown",
"xx" : "Unknown",
"aar" : "Unknown",
"abk" : "Unknown",
"ace" : "Unknown",
Expand Down Expand Up @@ -695,6 +696,7 @@
"zun" : "Unknown",
"zza" : "Unknown",
"zxx" : "Unknown",
"xxx" : "Unknown"
}

cpWindows = {
Expand Down Expand Up @@ -883,6 +885,7 @@
"za" : "Unknown",
"zh" : "Unknown",
"zu" : "Unknown",
"xx" : "Unknown",
"aar" : "Unknown",
"abk" : "Unknown",
"ace" : "Unknown",
Expand Down Expand Up @@ -1386,5 +1389,6 @@
"zun" : "Unknown",
"zza" : "Unknown",
"zxx" : "Unknown",
"xxx" : "Unknown"
}

8 changes: 4 additions & 4 deletions Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ def FixFile(sFile, sMyLang):
# Make a backup
try:
MakeBackup(sFile)
except:
Log.Exception('Something went wrong creating a backup, file will not be converted!!! Check file permissions?')
except Exception, e:
Log.Exception('Something went wrong creating a backup, file will not be converted!!! %s' %(str(e)))
else:
try:
ConvertFile(sFile, sMyEnc)
except:
Log.Exception('Something went wrong converting!!! Check file permissions?')
except Exception, e:
Log.Exception('Something went wrong converting!!! %s' %(str(e)))
try:
RevertBackup(sFile)
except:
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v0.0.2.3
- Fixed #32 : KeyError: 'xx'

v0.0.2.2
- Added The Movie DB to TV-Shows
- Corrected link in the Settings/Info to the forum thread
Expand Down

0 comments on commit 2bdda44

Please sign in to comment.