mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-24 12:27:45 +01:00
Fixed a couple of typos in the updater
This commit is contained in:
@@ -204,13 +204,13 @@ def update():
|
|||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
# Extract the tar to update folder
|
# Extract the tar to update folder
|
||||||
logger.info('Extracing file' + tar_download_path)
|
logger.info('Extracting file: ' + tar_download_path)
|
||||||
tar = tarfile.open(tar_download_path)
|
tar = tarfile.open(tar_download_path)
|
||||||
tar.extractall(update_dir)
|
tar.extractall(update_dir)
|
||||||
tar.close()
|
tar.close()
|
||||||
|
|
||||||
# Delete the tar.gz
|
# Delete the tar.gz
|
||||||
logger.info('Deleting file' + tar_download_path)
|
logger.info('Deleting file: ' + tar_download_path)
|
||||||
os.remove(tar_download_path)
|
os.remove(tar_download_path)
|
||||||
|
|
||||||
# Find update dir name
|
# Find update dir name
|
||||||
|
|||||||
Reference in New Issue
Block a user