Skip to content
Snippets Groups Projects
Commit e8947573 authored by Christian Fobel's avatar Christian Fobel
Browse files

[FIX] Fix entry point

parent 9ae84d54
Branches
No related merge requests found
......@@ -13,7 +13,7 @@ package:
build:
entry_points:
- dstat-interface = dstat_interface.main
- dstat-interface = dstat_interface.main:main
# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
......
......@@ -1031,8 +1031,12 @@ class Main(object):
self.plugin = None
if __name__ == "__main__":
def main():
multiprocessing.freeze_support()
gobject.threads_init()
MAIN = Main()
gtk.main()
if __name__ == "__main__":
main()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment