Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Bump(pre)
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed May 23, 2022
1 parent 809b86a commit 913cc3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions src/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# coding=utf-8

# import
import argparse
import os
import platform
import smtplib
Expand All @@ -12,13 +11,7 @@
import reserve

# pre-define
ver = '3.0.1.9-pre1'

# process arg
parser = argparse.ArgumentParser()
parser.add_argument('-l', '--level', default='info')
args = parser.parse_args()
logLevel = args.level
ver = '3.0.1.9-pre2'

# initialize
reserve.logging.info('Welcome to DLUT-library-auto-reservation ' + ver)
Expand Down
2 changes: 1 addition & 1 deletion src/reserve.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sso

# Configure logging
logging.basicConfig(level=logging.INFO,
logging.basicConfig(level=logging.DEBUG,
filename='./access.log',
filemode='a',
format='%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s')
Expand Down

0 comments on commit 913cc3d

Please sign in to comment.