diff options
-rw-r--r-- | src/pyfedpkg/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index a9d090f..17ac668 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -1396,7 +1396,7 @@ class PackageModule: files = os.listdir(self.path) # Search the files for the first one that ends with ".spec" for f in files: - if f.endswith('.spec'): + if f.endswith('.spec') and not f.startswith('.'): return f if f == 'dead.package': deadpackage = True |