BUG: Fix bad reference to benchmark timezone in loader.

This commit is contained in:
Eddie Hebert
2013-11-11 14:39:11 -05:00
parent 89793e371c
commit 797cb8ece3
+2 -2
View File
@@ -165,7 +165,7 @@ Fetching data from Yahoo Finance.
if (
benchmark_returns.index.tz is None
or
benchmark_returns.index.zone != 'UTC'
benchmark_returns.index.tz.zone != 'UTC'
):
benchmark_returns = benchmark_returns.tz_localize('UTC')
else:
@@ -173,7 +173,7 @@ Fetching data from Yahoo Finance.
if (
benchmark_returns.index.tz is None
or
benchmark_returns.index.zone != 'UTC'
benchmark_returns.index.tz.zone != 'UTC'
):
benchmark_returns = benchmark_returns.tz_localize('UTC')