mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-18 18:52:52 +02:00
Resolved some warnings and style issues
This commit is contained in:
@ -5,7 +5,6 @@ from pathlib import Path
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
|
||||
conf_path = Path('wg0')
|
||||
wg0_conf = configparser.ConfigParser()
|
||||
wg0_conf.read(conf_path/'wg0.conf')
|
||||
@ -17,7 +16,6 @@ if __name__ == '__main__':
|
||||
# Delete any old conf.json for the current peer
|
||||
(conf_path / f'{client_name}.json').unlink(missing_ok=True)
|
||||
|
||||
|
||||
peer = wg0_conf[client_name]
|
||||
|
||||
date_time = datetime.now().strftime('%Y-%m-%dT%H:%M:%S.%f000Z')
|
||||
|
Reference in New Issue
Block a user