FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
85 stars 47 forks source link

Do not use an extra dot in the mdkscriptrun script #182

Closed mudrd8mz closed 5 years ago

mudrd8mz commented 5 years ago

The os.path.splitext() already returns the extension with the leading dot. So it was creating files like mdkscriptrun..sh with the extra dot in the name. The patch removes the extra dot.

FMCorz commented 5 years ago

This has been bugging me since I wrote it :rofl:. Thanks!