aboutsummaryrefslogtreecommitdiff
path: root/satscalc.py
diff options
context:
space:
mode:
authorSan Jacobs2021-12-30 07:13:18 +0100
committerSan Jacobs2021-12-30 07:13:18 +0100
commitd42c88b13d17285f1396274d504f7de1d1fb845f (patch)
treef3e9cdba62a1de1bfb6e346ff799343f7c0ccab6 /satscalc.py
parentd3ca7c01968948ac10897d6fe2bcd1a9296429c3 (diff)
downloadsatscalc-d42c88b13d17285f1396274d504f7de1d1fb845f.tar.gz
satscalc-d42c88b13d17285f1396274d504f7de1d1fb845f.tar.bz2
satscalc-d42c88b13d17285f1396274d504f7de1d1fb845f.zip
Added GPLv3 notice
Diffstat (limited to 'satscalc.py')
-rwxr-xr-xsatscalc.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/satscalc.py b/satscalc.py
index 8ccf8d7..7d46d48 100755
--- a/satscalc.py
+++ b/satscalc.py
@@ -1,5 +1,21 @@
#!usr/bin/env python3
+# satscalc.py - script to help with billing for Norwegian film workers
+# Copyright (C) 2021 Sander Skjegstad
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see https://www.gnu.org/licenses/
+
import datetime
def timeInput(prompt, fulldate=False):
@@ -69,6 +85,10 @@ def floatify(hour, minutes):
if __name__ == "__main__":
+ print("This program comes with ABSOLUTELY NO WARRANTY.")
+ print("This is free software, and you are welcome to redistribute it")
+ print("under the conditions of the GPLv3 or later.")
+
baserate = int(input("What's your base dayrate (sats)? "))
hourly_rate = baserate/7.5