X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=iracmd.py;h=dd883f8dbb7f16e126c24a91afc3031885cc68c5;hp=81a39100e1a7dca4d4cdd961179ce1c651960ced;hb=2ffa9388c45dce689bb45c1cf6c7ad81d2636409;hpb=437f0dd98164afb134c221fe4c4378ec7e3b64e5 diff --git a/iracmd.py b/iracmd.py index 81a3910..dd883f8 100644 --- a/iracmd.py +++ b/iracmd.py @@ -46,7 +46,8 @@ else: UserConfigPath = os.path.abspath(os.path.join(user_home, '.iramuteq')) class CmdLine : - def __init__(self, args = None) : + def __init__(self, args = None, AppliPath = None) : + AppliPath = AppliPath self.DictPath = ConstructDicoPath(AppliPath) self.ConfigPath = ConstructConfigPath(UserConfigPath) self.syscoding = sys.getdefaultencoding() @@ -175,5 +176,5 @@ class CmdLine : if __name__ == '__main__': __name__ = 'Main' - CmdLine() + CmdLine(AppliPath = AppliPath)