HeyAnirudh / Certificate-Generator

Making certificates is a tiresome job , lets automate it with python and opencv!!
3 stars 6 forks source link

used OS module to remove hard coded paths to files Beatrix-droid #4

Closed Beatrix-droid closed 2 years ago

Beatrix-droid commented 2 years ago

Removed unnecessary imports and used the OS module to remove all instances of hard coded paths to files, as some paths were hard coded for windows computers and wouldn't have worked on Unix or Unix like systems. With this layer of abstraction, the app now runs on linux, and should be able to run on windows as well, as no values are hardcoded. Test the app and let me know if it works on windows too

Beatrix-droid commented 2 years ago

closing this PR to create another one in the issue that addresses this problem