Reformat project
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import main
|
||||
from yaml import dump
|
||||
|
||||
|
||||
class ModCommand:
|
||||
@@ -16,8 +15,8 @@ class ModCommand:
|
||||
|
||||
try:
|
||||
setattr(main.network[spl[1]], spl[2], spl[3])
|
||||
except e:
|
||||
failure("Something went wrong.")
|
||||
except Exception as e:
|
||||
failure(f"Something went wrong: {e}")
|
||||
return
|
||||
|
||||
main.saveConf("network")
|
||||
|
||||
Reference in New Issue
Block a user