mirror of
https://github.com/towalink/wgfrontend.git
synced 2025-04-19 00:45:15 +00:00
Change to relative imports
This commit is contained in:
parent
b4868ca0c0
commit
73b8bdf0c8
@ -26,8 +26,8 @@ __license__ = "AGPL3" # + author has right to release in parallel under differen
|
||||
__email__ = "towalink.wgfrontend@henrici.name"
|
||||
|
||||
|
||||
import setupenv
|
||||
import webapp
|
||||
from . import setupenv
|
||||
from . import webapp
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -5,7 +5,7 @@ import logging
|
||||
import os
|
||||
import textwrap
|
||||
|
||||
import pwdtools
|
||||
from . import pwdtools
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
@ -10,7 +10,7 @@ import string
|
||||
import wgconfig
|
||||
import wgconfig.wgexec as wgexec
|
||||
|
||||
import config
|
||||
from . import config
|
||||
|
||||
|
||||
def is_root():
|
||||
|
@ -8,8 +8,8 @@ import os
|
||||
import random
|
||||
import string
|
||||
|
||||
import pwdtools
|
||||
import wgcfg
|
||||
from . import pwdtools
|
||||
from . import wgcfg
|
||||
|
||||
|
||||
class WebApp():
|
||||
|
Loading…
x
Reference in New Issue
Block a user