Skip to content

Commit

Permalink
Merge pull request cs50#186 from cs50/develop
Browse files Browse the repository at this point in the history
v3.0.1
  • Loading branch information
cmlsharp authored Aug 13, 2019
2 parents 9d22801 + 981b10d commit 7844529
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
if __import__("os").name == "nt":
raise RuntimeError("submit50 does not support Windows directly. Instead, you should install the Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10) and then install submit50 within that.")

from setuptools import setup
setup(
author="CS50",
Expand All @@ -22,6 +25,6 @@
entry_points={
"console_scripts": ["submit50=submit50.__main__:main"]
},
version="3.0.0",
version="3.0.1",
include_package_data=True
)
2 changes: 1 addition & 1 deletion submit50/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def main():

excepthook.verbose = args.verbose
if args.verbose:
logging.basicConfig(level="INFO")
logging.basicConfig(level=os.environ.get("SUBMIT50_LOGLEVEL", "INFO"))
# Disable progress bar so it doesn't interfere with log
lib50.ProgressBar.DISABLED = True

Expand Down

0 comments on commit 7844529

Please sign in to comment.