Skip to content

Commit d22667c

Browse files
authored
meet flake8 formart
1 parent f5a864d commit d22667c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas_datareader/yahoo/daily.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
import json
44
import re
5-
import time, datetime
5+
import time
6+
import datetime
67

78
from pandas import DataFrame, isnull, notnull, to_datetime
89

@@ -127,7 +128,8 @@ def url(self):
127128
def _get_params(self, symbol):
128129
# This needed because yahoo returns data shifted by 4 hours ago.
129130
four_hours_in_seconds = 14400
130-
# Use the difference between the unix_zero and start to prevent the bug occurrence of `OverflowError: mktime argument out of range`.
131+
# Use the difference between the unix_zero and start to prevent the bug occurrence of
132+
# `OverflowError: mktime argument out of range`.
131133
unix_zero = datetime.datetime(1970, 1, 1, 8)
132134
unix_start = int((self.start - unix_zero).total_seconds())
133135
unix_start += four_hours_in_seconds

0 commit comments

Comments
 (0)