Skip to content

Commit

Permalink
avoid sonarqube linter warning?
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 28, 2023
1 parent 0871974 commit 8e62cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/scripts/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def get_defaults():
conf_dirs.append("/etc/xpra")
else:
conf_dirs.append(os.path.join(sys.prefix, "etc", "xpra"))
conf_dir = os.getcwd()
conf_dirs.append(os.getcwd())
for conf_dir in conf_dirs:
if conf_dir and os.path.exists(conf_dir):
break
Expand Down

0 comments on commit 8e62cc8

Please sign in to comment.