mirror of
https://github.com/Melon-Bread/RetroUFO
synced 2024-11-24 16:28:30 -05:00
Cleanup actually checks if the 'cores' dir exists now
This commit is contained in:
parent
7c5dfc4c11
commit
c60c6be12f
@ -4,7 +4,7 @@ Grabs the latest version of every libretro core from the build bot.
|
||||
"""
|
||||
|
||||
__author__ = "Melon Bread"
|
||||
__version__ = "0.9.1"
|
||||
__version__ = "0.9.5"
|
||||
__license__ = "MIT"
|
||||
|
||||
import argparse
|
||||
@ -112,7 +112,7 @@ def extract_cores(_location):
|
||||
|
||||
def clean_up():
|
||||
""" Removes all the downloaded files """
|
||||
if os.listdir('cores'):
|
||||
if os.path.isdir('cores'):
|
||||
rmtree('cores/')
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@ Grabs the latest version of every libretro core from the build bot.
|
||||
"""
|
||||
|
||||
__author__ = "Melon Bread"
|
||||
__version__ = "0.9.1"
|
||||
__version__ = "0.9.5"
|
||||
__license__ = "MIT"
|
||||
|
||||
import os
|
||||
@ -257,7 +257,7 @@ class Form(QDialog):
|
||||
|
||||
def clean_up(self):
|
||||
""" Removes all the downloaded files """
|
||||
if os.listdir('cores'):
|
||||
if os.path.isdir('cores'):
|
||||
rmtree('cores/')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user