This action will force synchronization from e23-cn/e23-file-check, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
#!/usr/bin/env python# -*- coding:utf-8 -*-from util import signimport osif __name__ == '__main__':origin_file = 'test-file/original.html'target_file = 'test-file/original-sign.html'target_file = 'target-file/original.html'sign_val = sign.sign_file(origin_file)print sign_valsign.sign2file(sign_val, origin_file, target_file)filename = os.path.basename(target_file)f = open(target_file)content = f.read()f.close()sign_str, sign_ret = sign.retrieve_sign(content)print sign_strprint sign_retprint sign.sign_check(target_file)