Make string an f-string
so the directives within the string will get evaluated.
This commit is contained in:
parent
ba67c52d9b
commit
c89dbf2062
@ -19,7 +19,7 @@ required_anki_version = (26, 6, 3)
|
||||
anki_version = tuple(int(segment) for segment in aqt.appVersion.split("."))
|
||||
|
||||
if anki_version < required_anki_version:
|
||||
raise Exception("Minimum Anki version supported: {required_anki_version[0]}.{required_anki_version[1]}.{required_anki_version[2]}")
|
||||
raise Exception(f"Minimum Anki version supported: {required_anki_version[0]}.{required_anki_version[1]}.{required_anki_version[2]}")
|
||||
|
||||
import base64
|
||||
import glob
|
||||
|
Loading…
Reference in New Issue
Block a user