From 5bdbb28e31fcad2b1430c5bca0bcdfb8fcf1cbe6 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Wed, 4 Jan 2017 19:46:23 +0300 Subject: [PATCH] reset default profile via --reset --- toxygen/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/toxygen/main.py b/toxygen/main.py index de6dea2..90ba8a6 100644 --- a/toxygen/main.py +++ b/toxygen/main.py @@ -475,6 +475,10 @@ def configure(): pass +def reset(): + Settings.reset_auto_profile() + + def main(): if len(sys.argv) == 1: toxygen = Toxygen() @@ -492,6 +496,9 @@ def main(): elif arg == '--clean': clean() return + elif arg == '--reset': + reset() + return else: toxygen = Toxygen(arg) toxygen.main()