refactoring - correct namespaces, logic from profile.py moved to different files, calbacks partially fixed
This commit is contained in:
parent
593e25efe5
commit
20bb694c7e
23 changed files with 1071 additions and 966 deletions
|
|
@ -1,12 +1,10 @@
|
|||
import sys
|
||||
import app
|
||||
from user_data.settings import *
|
||||
from util import curr_directory, program_version, remove
|
||||
from util.util import curr_directory, program_version, remove
|
||||
import argparse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def clean():
|
||||
"""Removes all windows libs from libs folder"""
|
||||
d = curr_directory() + '/libs/'
|
||||
|
|
@ -24,7 +22,7 @@ def main():
|
|||
parser.add_argument('--reset')
|
||||
args = parser.parse_args()
|
||||
if not len(args):
|
||||
toxygen = Toxygen()
|
||||
toxygen = app.App()
|
||||
else: # started with argument(s)
|
||||
arg = sys.argv[1]
|
||||
if arg == '--version':
|
||||
|
|
@ -40,7 +38,7 @@ def main():
|
|||
reset()
|
||||
return
|
||||
else:
|
||||
toxygen = Toxygen(arg)
|
||||
toxygen = app.App(arg)
|
||||
toxygen.main()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue