Skip to content

Commit beb82c4

Browse files
author
zaihuaji
committed
check ifile before get checksum
1 parent 744e155 commit beb82c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rda_python_common/PgFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2305,7 +2305,7 @@ def get_md5sum(file, count = 0, logact = 0):
23052305
if count > 0:
23062306
checksum = [None]*count
23072307
for i in range(count):
2308-
if(op.isfile(file[i])):
2308+
if op.isfile(file[i]):
23092309
chksm = PgLOG.pgsystem(cmd + file[i], logact, 20)
23102310
if chksm:
23112311
ms = re.search(r'(\w{32})', chksm)

0 commit comments

Comments
 (0)