acecalisto3 commited on
Commit
774a338
·
verified ·
1 Parent(s): 5a2f2b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -242,7 +242,8 @@ def run(self):
242
  except KeyboardInterrupt:
243
  print("\nApplication stopped by user.")
244
 
245
-
246
- if __name__ == "__main__":
247
- app = App()
248
- app.run()
 
 
242
  except KeyboardInterrupt:
243
  print("\nApplication stopped by user.")
244
 
245
+ def main():
246
+ root = tk.Tk()
247
+ app = App(root)
248
+ print(f"===== Application Startup at {datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')} =====")
249
+ app.run()