fixed color mode bug in error message

This commit is contained in:
Michael Clemens 2021-06-01 16:35:36 +02:00
parent 66cd73cda0
commit 8f0ae111c9

View File

@ -123,9 +123,8 @@ class qrzlogger():
with open(file_name, 'w') as configfile: with open(file_name, 'w') as configfile:
config.write(configfile) config.write(configfile)
print(self.errorcol + "\nNo configuration file found. A new configuration file has been created.") print("\nNo configuration file found. A new configuration file has been created.")
print("\nPlease edit the file " + file_name + " and restart the application.\n" ) print("\nPlease edit the file " + file_name + " and restart the application.\n" )
print(style.RESET)
quit() quit()
return config return config