summaryrefslogtreecommitdiff
path: root/wasp
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-12-28 14:20:17 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-12-28 14:20:17 (GMT)
commit77b693414e3882e8addba0635e69621074843890 (patch)
treed49f151755eb8a4ec972bd7b3c8c781c0b7b6fbc /wasp
parenta1ee40016db58a5ad2707725d4a1e225b7919a3f (diff)
apps: calc: Move the copyright header to the top of the file.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp')
-rw-r--r--wasp/apps/calc.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/wasp/apps/calc.py b/wasp/apps/calc.py
index 8dddf57..a7293d9 100644
--- a/wasp/apps/calc.py
+++ b/wasp/apps/calc.py
@@ -1,3 +1,13 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Johannes Wache
+"""Calculator application
+
+This is a simple calculator app that uses the build-in eval() function to
+compute the solution.
+"""
+
+import wasp, fonts
+
# 2-bit RLE, generated from res/calc.png, 413 bytes
calc = (
b'\x02'
@@ -30,15 +40,6 @@ calc = (
b'XAA?\tV?\x0eP(')
-# SPDX-License-Identifier: LGPL-3.0-or-latesettingsr
-# Copyright (C) 2020 Johannes Wache
-"""Calculator application
-
-This is a simple calculator app that uses the build-in eval() function to compute the solution for an equation.
-"""
-
-import wasp, fonts
-
class CalculatorApp():
NAME = 'Calc'
ICON = calc