1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-19 04:20:23 +01:00

Move from travis to gh actions

This commit is contained in:
2024-09-13 21:27:40 +02:00
parent bd0aa3dee4
commit 8d8d38d5c0
7 changed files with 9 additions and 56 deletions

View File

@@ -4,7 +4,6 @@ Base class for all wrapper modules
import logging
import os
import shutil
import sys
import tempfile
from fs_uae_wrapper import utils
@@ -325,6 +324,6 @@ class ArchiveBase(Base):
for ext in ('.7z', '.lha', '.lzx', '.zip', '.rar', '.tar', '.tgz',
'.tar.gz', '.tar.bz2', '.tar.xz'):
if ((basename + ext).lower() == fname.lower() and
basename == os.path.splitext(fname)[0]):
basename == os.path.splitext(fname)[0]):
return fname
return None