Skip to content

Commit

Permalink
edit log
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie0227 committed Jan 26, 2019
1 parent 35f933d commit 867b0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from selenium.webdriver.chrome.options import Options
class Logger:
def __init__(self, path, filename):
if not os.path.exists(path):
if not os.path.exists(path+'/log'):
os.makedirs(path+'/log')
logging.basicConfig(level=logging.INFO,
format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s',
Expand Down

0 comments on commit 867b0dc

Please sign in to comment.