From 4b5c299dc02101650a39df232a48e25f4d822e7a Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 19 Jul 2017 14:54:14 +0700 Subject: [PATCH] apps/trx: get rid of meaningless main function --- apps/trx/grgsm_trx.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/trx/grgsm_trx.py b/apps/trx/grgsm_trx.py index 25f76cf..7a1ece3 100755 --- a/apps/trx/grgsm_trx.py +++ b/apps/trx/grgsm_trx.py @@ -143,8 +143,6 @@ class Application: self.shutdown() sys.exit(0) -def main(): - Application().run() - if __name__ == '__main__': - main() + app = Application() + app.run()