Skip to content

Commit

Permalink
Renamed parameter name as project
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomelo9 committed Jul 10, 2024
1 parent 664e26b commit c6c6558
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyfpga/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
class Project:
"""Base class to manage an FPGA project.
:param name: project name (tool name when nothing specified)
:type name: str, optional
:param project: project name (tool name when nothing specified)
:type project: str, optional
:param odir: output directory
:type odir: str, optional
"""

def __init__(self, name=None, odir='results'):
def __init__(self, project=None, odir='results'):
"""Class constructor."""
self.conf = {}
self.data = {}
self._configure()
self.data['project'] = name or self.conf['tool']
self.data['project'] = project or self.conf['tool']
self.odir = odir
# logging config
self.logger = logging.getLogger(self.__class__.__name__)
Expand Down

0 comments on commit c6c6558

Please sign in to comment.