Skip to content

Commit

Permalink
Update echo360.py
Browse files Browse the repository at this point in the history
fixed pick installation for windows
  • Loading branch information
soraxas authored Jul 10, 2018
1 parent 34b8e77 commit f21d4f6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions echo360.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
import re
import logging
from datetime import datetime

from echo360.exceptions import EchoLoginError
from echo360.downloader import EchoDownloader
from echo360.course import EchoCourse
try:
import pick
except ImportError as e:
Expand All @@ -16,7 +12,9 @@
raise e
import subprocess
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'windows-curses'])

from echo360.exceptions import EchoLoginError
from echo360.downloader import EchoDownloader
from echo360.course import EchoCourse

_DEFAULT_BEFORE_DATE = datetime(2900, 1, 1).date()
_DEFAULT_AFTER_DATE = datetime(1100, 1, 1).date()
Expand Down

0 comments on commit f21d4f6

Please sign in to comment.