Skip to content

Commit

Permalink
Fixed relative import error referenced in pr#2
Browse files Browse the repository at this point in the history
  • Loading branch information
a13ssandr0 committed Jun 17, 2024
1 parent 9c4619b commit e990636
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = tufw
version = 1.1.1
version = 1.1.2
author = Alessandro Campolo
author_email = [email protected]
description = Ufw terminal frontend based on dialog
Expand Down
7 changes: 5 additions & 2 deletions src/tufw/__init__.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from errno import ENOENT
from os import execlp, getuid
from sys import argv, executable

from dialog import Dialog
from firewall import *
try:
from .firewall import *
except ImportError:
from firewall import *


def elevate():
Expand Down

0 comments on commit e990636

Please sign in to comment.