diff options
author | Filipp Lepalaan <filipp@mac.com> | 2018-04-28 16:18:10 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2018-04-28 16:18:10 +0300 |
commit | 79bc69470d8d907cd0f8e4c71788576a31899cad (patch) | |
tree | 80c5f4c2bcf7059eb6df2b7a64cf8926dd030402 /gsxws/escalations.py | |
parent | a936224499fa6f9aa8625d22558fa42d744faf0d (diff) | |
download | py-gsxws-79bc69470d8d907cd0f8e4c71788576a31899cad.tar.gz py-gsxws-79bc69470d8d907cd0f8e4c71788576a31899cad.tar.bz2 py-gsxws-79bc69470d8d907cd0f8e4c71788576a31899cad.zip |
Better Python 2/3 support
Diffstat (limited to 'gsxws/escalations.py')
-rw-r--r-- | gsxws/escalations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/escalations.py b/gsxws/escalations.py index 6a1ffbb..fe80ccc 100644 --- a/gsxws/escalations.py +++ b/gsxws/escalations.py @@ -56,7 +56,7 @@ class FileAttachment(GsxObject): def __init__(self, fp): super(FileAttachment, self).__init__() self.fileName = os.path.basename(fp) - self.fileData = open(fp, 'r') + self.fileData = open(fp, 'rb') class Escalation(GsxObject): |