Skip to content

Commit 547f5ff

Browse files
committed
py3 fix
1 parent a721dfa commit 547f5ff

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

vplot/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
from __future__ import division, print_function, absolute_import, \
4-
unicode_literals
3+
from __future__ import division, print_function, absolute_import, unicode_literals
54

6-
__version__ = "0.3.3"
5+
__version__ = "0.3.5"
76
__author__ = "Rodrigo Luger (rodluger@uw.edu)"
87
__copyright__ = "Copyright 2018 Rodrigo Luger"
98

@@ -19,9 +18,10 @@
1918
# Set up the matplotlib stylesheet
2019
import os
2120
import matplotlib.pyplot as pl
22-
pl.style.use(os.path.join(os.path.dirname(
23-
os.path.abspath(__file__)),
24-
'vplot.mplstyle'))
21+
22+
pl.style.use(
23+
os.path.join(os.path.dirname(os.path.abspath(__file__)), "vplot.mplstyle")
24+
)
2525

2626
# Import main stuff
2727
from . import plot, quickplot, utils, log

vplot/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def GetParamDescriptions():
222222

223223
# Call vplanet help (it better be in the path!)
224224
try:
225-
help = subprocess.check_output(["vplanet", "-h"], cwd=os.path.expanduser("~"))
225+
help = subprocess.check_output(["vplanet", "-h"], cwd=os.path.expanduser("~")).decode("utf-8")
226226
except OSError:
227227
raise Exception("Unable to call VPLANET. Is it in your PATH?")
228228

0 commit comments

Comments
 (0)