Skip to content

Commit

Permalink
Fixed debug file creation crash
Browse files Browse the repository at this point in the history
Debug file was not being created due to wrong directory name.
  • Loading branch information
Xonshiz committed Jan 8, 2021
1 parent fece49a commit aa95455
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
File renamed without changes.
Binary file modified hulusubs_dl/.DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions hulusubs_dl/Hulusubs_dl_Error_Log.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DEBUG: Arguments Provided : Namespace(download_directory=None, hulu_url=None, make_config=False, proxy=[], set_cookie=None, skip_config=False, subtitle_extension='srt', subtitle_language='en', verbose=True, version=False)
DEBUG: Operating System : Darwin - 20.2.0 - Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64
DEBUG: Python Version : 3.8.2 (64bit)
DEBUG: Hulusubs_dl Version : 2021.01.08.1
2 changes: 1 addition & 1 deletion hulusubs_dl/hulu_subs_dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, argv, cwd):
# print(VerboseError)
pass
logging.basicConfig(format='%(levelname)s: %(message)s',
filename=str(args.download_directory[0]) + str(os.sep) + "Hulusubs_dl_Error_Log.log",
filename=str(cwd) + str(os.sep) + "Hulusubs_dl_Error_Log.log",
level=logging.DEBUG)
logging.debug("Arguments Provided : %s" % args)
logging.debug("Operating System : %s - %s - %s" % (platform.system(),
Expand Down

0 comments on commit aa95455

Please sign in to comment.