Skip to content

Commit

Permalink
(archives)(#197) nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Nov 20, 2024
1 parent 0151f05 commit 2486c77
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bsp_tool/archives/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ def path_tuple(path: str) -> Tuple[str]:
class Archive:
ext = None
extras: Dict[str, external.File]
folder: str
filename: str

def __init__(self, filepath: str = "untitled.ext"):
def __init__(self):
self.extras = dict()
self.folder, self.filename = os.path.split(filepath)

def extra_patterns(self) -> List[str]:
"""filename patterns for files to mount (e.g. '*.bin')"""
Expand Down

0 comments on commit 2486c77

Please sign in to comment.