Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
aboutwindow = AboutWindow()
legendwindow.render_legend()
mapwindow.render_map()
screen.addstr(0, 0, "ASCII")
screen.addstr(0, 5, " QGIS Enterprise", curses.color_pair(4))
screen.refresh()
if config.get('showhelp', True):
show_help()
pad.focus()
app = QGIS.init(guienabled=False)
if __name__ == "__main__":
logging.info("Staring QGIS ASCII :)")
logging.info("ASCII QGIS because we can")
curses.wrapper(main)
def _open_project(fullpath):
global project
project = projects.open_project(fullpath)
return project