|
|
@@ -23,7 +23,7 @@ def series(): |
|
|
with open('watched_series.json', 'w') as json_file: |
|
|
with open('watched_series.json', 'w') as json_file: |
|
|
config = json.dump(series, json_file) |
|
|
config = json.dump(series, json_file) |
|
|
|
|
|
|
|
|
print("Le fichier watched_series.json a bien été créé") |
|
|
|
|
|
|
|
|
print("Le fichier watched_series.json a bien été cree") |
|
|
|
|
|
|
|
|
def config(): |
|
|
def config(): |
|
|
if len(sys.argv) != 7 : |
|
|
if len(sys.argv) != 7 : |
|
|
@@ -54,7 +54,7 @@ def config(): |
|
|
with open('user_config.json', 'w') as json_file: |
|
|
with open('user_config.json', 'w') as json_file: |
|
|
config = json.dump(config, json_file) |
|
|
config = json.dump(config, json_file) |
|
|
|
|
|
|
|
|
print("Le fichier user_config a bien été créé") |
|
|
|
|
|
|
|
|
print("Le fichier user_config a bien ete cree") |
|
|
return |
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|