cleanup debug stuff

This commit is contained in:
Noah Swerhun 2023-03-14 20:29:25 -05:00
parent 0c95a72630
commit 64ff1d8f3b
2 changed files with 2 additions and 9 deletions

View file

@ -96,9 +96,7 @@ class Module:
# Generate new text
self.generate_text()
# Print the entire bar
#self.bar.print()
print(self.text)
self.bar.print()
if self.signal == 0:
if self.refresh == 0:
@ -108,10 +106,7 @@ class Module:
if self.refresh == 0:
sigwait([self.signal])
else:
sig = sigtimedwait([self.signal], self.refresh)
if sig:
print("Recieved signal " + str(sig))
continue
sigtimedwait([self.signal], self.refresh)
def start_thread(self):
thread = Thread(target=self.thread_callback)

View file

@ -11,8 +11,6 @@ def main():
seperator = bar_config["seperator"]
margin = bar_config["margin"]
print(getpid())
signal_router = SignalRouter()
bar = Bar(seperator, margin)