# HG changeset patch # User Gregor Horvath E20 # Date 1733643162 -3600 # Sun Dec 08 08:32:42 2024 +0100 # Node ID 8120fe0a03b24b0dea96781cf51359073bad3394 # Parent 20be26148513357d4349f87c132ddd94a91884f4 remove donation diff --git a/music_collection_sync.py b/music_collection_sync.py --- a/music_collection_sync.py +++ b/music_collection_sync.py @@ -5,7 +5,6 @@ for Details see README This software is licensed under the GNU GPLv3 without any warranty as is with ABSOLUTELY NO WARRANTY. -If you find the script useful and would like to donate: UniCredit Bank Austria AG, Gregor Horvath, IBAN: AT47 1100 0014 1436 2200, BIC: BKAUATWW """ import os @@ -26,9 +25,6 @@ parser.add_option("-w", "--target_win", action="store_true", dest="win", help="convert the filenames to Windows convention (for example if you copy to a FAT Partition)") -parser.add_option("-d", "--no_donation", action="store_true", dest="nodonation", default=False, - help="suppress the donation message.") - parser.add_option("-s", "--followlinks", action="store_true", dest="followlinks", default=False, help="By default the script will not walk down into symbolic links that resolve to directories. " \ "Set followlinks to visit directories pointed to by symlinks, on systems that support them.") @@ -61,7 +57,7 @@ parser.error("source and target path must not be the same") if options.win: - illegal_characters = '?[],\=+<>:;"*|^' + illegal_characters = r'?[],\=+<>:;"*|^' else: illegal_characters = '' @@ -281,7 +277,3 @@ end = time.time() log_elapsed_time(start, end) - - if not options.nodonation: - print("\nIf you find the script useful and would like to donate: \n" \ - "UniCredit Bank Austria AG, Gregor Horvath, IBAN: AT47 1100 0014 1436 2200, BIC: BKAUATWW")