diff --git a/ci-gui.py b/ci-gui.py index 37c09b7..e4fc51d 100644 --- a/ci-gui.py +++ b/ci-gui.py @@ -450,6 +450,8 @@ class CustomInstallGUI(ttk.Frame): def add_cia(self, path): path = abspath(path) + if path in self.readers: + return False, 'File already in list' try: reader = CustomInstall.get_reader(path) except (CIAError, CDNError, TitleMetadataError):