mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
refactor: use f-strings in controller modules
This commit is contained in:
9 files changed
+47
-86
No files matched your search
@@ -175,7 +175,7 @@ def _is_exportable(path, include_snapshots=False):
|
||||
return False
|
||||
|
||||
# do not export directories of snapshots
|
||||
if include_snapshots is False and "{sep}snapshots{sep}".format(sep=os.path.sep) in path:
|
||||
if include_snapshots is False and f"{os.path.sep}snapshots{os.path.sep}" in path:
|
||||
return False
|
||||
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user