Skip to content

Commit

Permalink
use correct variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
hootnot committed Feb 25, 2017
1 parent 5edb156 commit df2b4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oandapyV20/contrib/stream/streamrecord.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def convert(self, sr):
elif sr["type"] == "HEARTBEAT":
self._rtype = HEARTBEAT
else:
raise ValueError("Unknown stream record type {}".format(s))
raise ValueError("Unknown stream record type {}".format(sr))

# use calendar.timegm, this gives back the correct time without
# timezone differences
Expand Down

0 comments on commit df2b4bb

Please sign in to comment.