Skip to content

Commit

Permalink
Fix construction of PROJECT_NAME
Browse files Browse the repository at this point in the history
Prevent use of `root` logger.
  • Loading branch information
0x64746b committed May 26, 2015
1 parent f85d848 commit 8e5dbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login.py
Expand Up @@ -17,7 +17,7 @@
import requests


PROJECT_NAME = os.path.basename(os.path.dirname(__file__))
PROJECT_NAME = os.path.basename(os.path.dirname(os.path.abspath(__file__)))

logging.basicConfig(format='%(asctime)s %(levelname)s %(name)s: %(message)s')
logger = logging.getLogger(PROJECT_NAME)
Expand Down

0 comments on commit 8e5dbdf

Please sign in to comment.