diff options
| author | 2019-09-05 11:58:35 +0100 | |
|---|---|---|
| committer | 2019-09-05 11:58:35 +0100 | |
| commit | 1e79ed424954efee8ff26c3f05d16924851eb769 (patch) | |
| tree | 1a6a4ba67641a9f43f7e583c95140aa7671ddb92 /modules/info.py | |
| parent | 'recieved' -> 'received' (diff) | |
| signature | ||
remove debug prints from info.py
Diffstat (limited to 'modules/info.py')
| -rw-r--r-- | modules/info.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/info.py b/modules/info.py index ee67c3e4..73c367a2 100644 --- a/modules/info.py +++ b/modules/info.py @@ -7,14 +7,12 @@ class Module(ModuleManager.BaseModule): commit_hash = None git_dir = os.path.join(self.bot.directory, ".git") head_filepath = os.path.join(git_dir, "HEAD") - print(head_filepath) if os.path.isfile(head_filepath): ref = None with open(head_filepath, "r") as head_file: ref = head_file.readline().split(" ", 1)[1].strip() ref_filepath = os.path.join(git_dir, ref) - print(ref_filepath) if os.path.isfile(ref_filepath): with open(ref_filepath, "r") as ref_file: commit_hash = ref_file.readline().strip() |
