Skip to content

Commit

Permalink
Fix for using unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgilbert committed Mar 10, 2016
1 parent 3cf6497 commit 2473b8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
PACKAGE_VERSION=1.0.0
PACKAGE_VERSION=1.0.1
TITLE=sal_scripts
PACKAGE_NAME=sal_scripts
REVERSE_DOMAIN=com.github.salopensource
Expand Down
4 changes: 4 additions & 0 deletions sal-postflight
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ import yaml
BUNDLE_ID = 'com.github.salopensource.sal'
VERSION = '1.0.0'

# To resolve unicode write errors set our default encoding to utf8
reload(sys)
sys.setdefaultencoding('utf8')


def main():
set_verbosity()
Expand Down

0 comments on commit 2473b8d

Please sign in to comment.