Increase verbosity

This commit is contained in:
Gergely Polonkai 2016-06-13 15:34:44 +02:00
parent 9ce2a31fca
commit 7c7cb2f93a

View File

@ -241,10 +241,14 @@ class GitMIDI(MIDIFile):
commit_count = len(commits_to_process)
for commit in commits_to_process:
current_commit += 1
if callback:
current_commit += 1
callback(commit_count, current_commit)
if self.__verbose:
print("{}/{}".format(current_commit, commit_count))
self.__git_log.append(self.gen_beat(commit))
@property
@ -302,6 +306,9 @@ class GitMIDI(MIDIFile):
if callback is not None:
callback(log_length, current)
if self.__verbose:
print("{}/{}".format(current, log_length))
# Add a long note
if self.__need_commits:
self.addNote(track, log_channel,