Skip to content

Commit

Permalink
Rearrange files to support GitHub Actions file access
Browse files Browse the repository at this point in the history
  • Loading branch information
stratofax committed Aug 26, 2022
1 parent c60a4fc commit 891011f
Show file tree
Hide file tree
Showing 25 changed files with 2 additions and 2 deletions.
Binary file removed assets/img/warn_cyan.png
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
Binary file added src/electos/ballotmaker/assets/img/warn_cyan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
4 changes: 2 additions & 2 deletions src/electos/ballotmaker/ballots/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class FileTools:
def __init__(
self, file_name="", rel_path="assets/img", package_name="BallotLabFork"
self, file_name="", rel_path="assets/img", package_name="ballotmaker"
):
self.file_name: str = file_name
self.rel_path: Path = Path(rel_path)
Expand All @@ -17,7 +17,7 @@ def __init__(

# get the absolute path to this module
self.code_dir = Path(__file__).parent.resolve()

# TODO: restore test!
# does the package name appear in the code path?
# if self.code_dir.match(self.package_name):
# walk the path upward until the source dir
Expand Down

0 comments on commit 891011f

Please sign in to comment.