Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit577ea06

Browse files
committed
fix: added platform check for non-Windows 'pwd' library
1 parentf5a52ef commit577ea06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎mamonsu/lib/config.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
importpwd
32
importsocket
43
importos
54
importlogging
@@ -11,6 +10,8 @@
1110
frommamonsu.plugins.pgsql.driver.checksimportis_conn_to_db
1211
frommamonsu.lib.default_configimportDefaultConfig
1312

13+
ifplatform.LINUX:
14+
importpwd
1415

1516
importconfigparser
1617

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp