We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0b57a commit 40fca18Copy full SHA for 40fca18
examples/magtag_quote_demo.py
@@ -22,12 +22,15 @@
22
default_bg=0x000000,
23
)
24
25
+
26
def add_quote_marks(quote_text):
- return f"\"{quote_text}\""
27
+ return f'"{quote_text}"'
28
29
30
def add_hyphen(author_name):
31
return f"- {author_name}"
32
33
34
magtag.add_text(
35
text_position=(
36
(magtag.graphics.display.width // 2) - 1,
@@ -58,4 +61,4 @@ def add_hyphen(author_name):
58
61
print("Response is", value)
59
62
except (ValueError, RuntimeError) as e:
60
63
print("Some error occured, retrying! -", e)
- time.sleep(180)
64
+ time.sleep(180)
0 commit comments