Skip to content

Commit

Permalink
refactor some function
Browse files Browse the repository at this point in the history
  • Loading branch information
Nandaka committed Aug 24, 2020
1 parent 6743480 commit f5c7994
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 118 deletions.
1 change: 1 addition & 0 deletions PixivBatchHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def handle_tags(caller, job, job_name, job_option):


def process_batch_job(caller: PixivUtil2):
PixivHelper.get_logger().info('Batch Mode from json (b).')
caller.set_console_title("Batch Menu")
if os.path.exists(_default_batch_filename):
jobs_file = open(_default_batch_filename, encoding="utf-8")
Expand Down
1 change: 1 addition & 0 deletions PixivDBManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,7 @@ def menu(self):
return selection

def main(self):
PixivHelper.get_logger().info('DB Manager (d).')
try:
while True:
selection = self.menu()
Expand Down
Loading

0 comments on commit f5c7994

Please sign in to comment.