Skip to content

Commit 7f84049

Browse files
committed
Two small tweaks
* Fix testing of Settings`ShowFullForm now that we use Booleans * Show mathicsscript version on startup
1 parent 25fe674 commit 7f84049

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mathicsscript/__main__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,7 @@ def main(
292292
return exit_rc
293293

294294
if not quiet:
295-
print()
296-
print(version_string + "\n")
295+
print(f"\nMathicscript: {__version__}, {version_string}\n")
297296
print(license_string + "\n")
298297
print(f"Quit by pressing {quit_command}\n")
299298

@@ -347,7 +346,7 @@ def main(
347346
else:
348347
output_style = ""
349348

350-
if full_form != 0:
349+
if full_form:
351350
print(fmt(query))
352351
result = evaluation.evaluate(
353352
query, timeout=settings.TIMEOUT, format="unformatted"

0 commit comments

Comments
 (0)