samicrusader / qomui

Qomui (Qt OpenVPN Management UI)
GNU General Public License v3.0
14 stars 2 forks source link

Typo in one file which causes error when initializing GUI #11

Closed yolkarian closed 1 year ago

yolkarian commented 1 year ago

Hello,

There are typos in the qomui_gui.py, which cause error when initializing GUI.

Line 120 to Line 124 in qomui_gui.py:

            if ret == 0:
                self.initalize_service("enable", "--now")

            elif ret == 1:
                self.initalize_service("start")

It should be self.initialize_service.

Thanks.

samicrusader commented 1 year ago

👍🏻