Skip to content

Commit

Permalink
Fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
florianfesti committed Mar 2, 2024
1 parent 8411b7f commit 58e0a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ also create a proper pull request instead:
(This is case sensitive. Use CamelCase.)
* The picture should be 1200 pixels wide and square or not too far
from square (3:4 is fine).
* Minimize the file size by running it through `Tiny Png<https://tinypng.com/>`_
* Minimize the file size by running it through `Tiny Png <https://tinypng.com/>`_
* Place the file in *static/samples/*
* Check if the picture shows up at the bottom of the settings page of
the generator when running *scripts/boxesserver*
Expand Down
2 changes: 1 addition & 1 deletion boxes/generators/typetray.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def render(self):
if hasattr(self, "label_text"):
self.textcontent = self.label_text.split("\r\n")
else:
with open(self.label_file, "r") as f:
with open(self.label_file) as f:
self.textcontent = f.readlines()
self.textnumber = 0

Expand Down

0 comments on commit 58e0a18

Please sign in to comment.