docs: fix simple typo, occured -> occurred (#358)

There is a small typo in scdl/scdl.py.

Should read `occurred` rather than `occured`.
master
Tim Gates 2020-12-28 23:57:11 +11:00 committed by GitHub
parent 28a35f6cd0
commit 6dd6ef713b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -597,9 +597,9 @@ def download_track(track, playlist_info=None):
logger.info('Track "{0}" already downloaded.'.format(title))
return
# If file does not exist an error occured
# If file does not exist an error occurred
if not os.path.isfile(filename):
logger.error('An error occured downloading {0}.\n'.format(filename))
logger.error('An error occurred downloading {0}.\n'.format(filename))
logger.error('Exiting...')
sys.exit(-1)