mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-09 10:15:44 +02:00
also run under python 3.0
This commit is contained in:
parent
f02c70d5de
commit
fca0366111
@ -142,8 +142,8 @@ def main():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if sys.version_info < (3, 3):
|
||||
print('Python 3.3 is required to run this script')
|
||||
if sys.version_info < (3, 0):
|
||||
print('Python 3.0 or higher is required to run this script')
|
||||
else:
|
||||
main()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user