-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
print -> logger.debug signature debug logs removed
- Loading branch information
Showing
8 changed files
with
43 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
_____ ______ ______ | ||
|_ _|| ___ \| _ \ | ||
| | | |_/ /| | | | | ||
| | | / | | | | | ||
| | | |\ \ | |/ / | ||
\_/ \_| \_||___/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
from time import sleep | ||
|
||
from log_config import main_logger | ||
|
||
LINER = "--------------------------------------------" | ||
logger = main_logger | ||
|
||
def print_banner(args, script_name): | ||
with open("./banner.txt", "rt") as file: | ||
print(file.read()) | ||
print(LINER, flush=True) | ||
print("Copyright Huseyin ABANOZ 2019") | ||
print("[email protected]") | ||
print("Please leave copyright information") | ||
print(LINER,flush=True) | ||
|
||
sleep(0.1) | ||
|
||
logger.info("Tezos Reward Distributor" + script_name + " is Starting") | ||
logger.info(LINER) | ||
logger.info("Copyright Huseyin ABANOZ 2019") | ||
logger.info("[email protected]") | ||
logger.info("Please leave copyright information") | ||
logger.info(LINER) | ||
|
||
if args.dry_run: | ||
logger.info(LINER) | ||
logger.info("DRY RUN MODE") | ||
logger.info(LINER) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
|
||
def main(): | ||
print("Stopping reward distributer") | ||
print("Stopping reward distributor") | ||
|
||
stop() | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters