Skip to content

Commit 40fca18

Browse files
committed
Ran pre-commit
1 parent 8f0b57a commit 40fca18

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/magtag_quote_demo.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@
2222
default_bg=0x000000,
2323
)
2424

25+
2526
def add_quote_marks(quote_text):
26-
return f"\"{quote_text}\""
27+
return f'"{quote_text}"'
28+
2729

2830
def add_hyphen(author_name):
2931
return f"- {author_name}"
3032

33+
3134
magtag.add_text(
3235
text_position=(
3336
(magtag.graphics.display.width // 2) - 1,
@@ -58,4 +61,4 @@ def add_hyphen(author_name):
5861
print("Response is", value)
5962
except (ValueError, RuntimeError) as e:
6063
print("Some error occured, retrying! -", e)
61-
time.sleep(180)
64+
time.sleep(180)

0 commit comments

Comments
 (0)