donate-cpu.py: Also extract 'h++'-files.

This commit is contained in:
orbitcowboy 2019-02-28 22:41:21 +01:00
parent fa55899ff3
commit 2a8f42d0f4
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ import platform
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
# changes)
CLIENT_VERSION = "1.1.9"
CLIENT_VERSION = "1.1.10"
def checkRequirements():
@ -192,7 +192,7 @@ def unpackPackage(workPath, tgz):
# Skip dangerous file names
continue
elif member.name.lower().endswith(('.c', '.cpp', '.cxx', '.cc', '.c++', '.h', '.hpp',
'.hxx', '.hh', '.tpp', '.txx', '.qml')):
'.h++', '.hxx', '.hh', '.tpp', '.txx', '.qml')):
try:
tf.extract(member.name)
except OSError: