From d42c88b13d17285f1396274d504f7de1d1fb845f Mon Sep 17 00:00:00 2001 From: San Jacobs Date: Thu, 30 Dec 2021 07:13:18 +0100 Subject: Added GPLv3 notice --- satscalc.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 -- cgit v1.2.1