dict.get() defaults to None as the second arg. no need to supply it.

This commit is contained in:
2010-01-04 21:10:51 +00:00
parent 2034a77a45
commit c79cf56b69
4 changed files with 9 additions and 9 deletions

View File

@@ -303,7 +303,7 @@ NetRenderSettings.BoolProperty( attr="server_broadcast",
description="broadcast server address on local network",
default = True)
default_path = os.environ.get("TEMP", None)
default_path = os.environ.get("TEMP")
if not default_path:
if os.name == 'nt':